aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-microblaze/translate.c')
-rw-r--r--target-microblaze/translate.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c
index efa5d56e19..7e849c394f 100644
--- a/target-microblaze/translate.c
+++ b/target-microblaze/translate.c
@@ -1451,10 +1451,13 @@ void cpu_dump_state (CPUState *env, FILE *f,
cpu_fprintf(f, "rmsr=%x resr=%x debug[%x] imm=%x iflags=%x\n",
env->sregs[SR_MSR], env->sregs[SR_ESR],
env->debug, env->imm, env->iflags);
- cpu_fprintf(f, "btaken=%d btarget=%x mode=%s(saved=%s)\n",
+ cpu_fprintf(f, "btaken=%d btarget=%x mode=%s(saved=%s) eip=%d ie=%d\n",
env->btaken, env->btarget,
(env->sregs[SR_MSR] & MSR_UM) ? "user" : "kernel",
- (env->sregs[SR_MSR] & MSR_UMS) ? "user" : "kernel");
+ (env->sregs[SR_MSR] & MSR_UMS) ? "user" : "kernel",
+ (env->sregs[SR_MSR] & MSR_EIP),
+ (env->sregs[SR_MSR] & MSR_IE));
+
for (i = 0; i < 32; i++) {
cpu_fprintf(f, "r%2.2d=%8.8x ", i, env->regs[i]);
if ((i + 1) % 4 == 0)