aboutsummaryrefslogtreecommitdiffstats
path: root/target-microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-12-07 14:12:49 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-12-16 12:54:26 +0100
commit4c24aa0a69796005447982a6c70bf58c66311bdc (patch)
treecc76515de3531ada2ab1dce748d93474404f2982 /target-microblaze
parent17c52a43b44858cf64d4536df3bb87a4458c2b5a (diff)
microblaze: Print content of EAR register
I need to see EAR register in output because I need to parse irqsoff problem. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r--target-microblaze/op_helper.c4
-rw-r--r--target-microblaze/translate.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index 7ef3a60d6..af89dcfa6 100644
--- a/target-microblaze/op_helper.c
+++ b/target-microblaze/op_helper.c
@@ -80,8 +80,8 @@ void helper_debug(void)
int i;
qemu_log("PC=%8.8x\n", env->sregs[SR_PC]);
- qemu_log("rmsr=%x resr=%x debug[%x] imm=%x iflags=%x\n",
- env->sregs[SR_MSR], env->sregs[SR_ESR],
+ qemu_log("rmsr=%x resr=%x rear=%x debug[%x] imm=%x iflags=%x\n",
+ env->sregs[SR_MSR], env->sregs[SR_ESR], env->sregs[SR_EAR],
env->debug, env->imm, env->iflags);
qemu_log("btaken=%d btarget=%x mode=%s(saved=%s) eip=%d ie=%d\n",
env->btaken, env->btarget,
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c
index 7e849c394..583f09d7b 100644
--- a/target-microblaze/translate.c
+++ b/target-microblaze/translate.c
@@ -1448,8 +1448,8 @@ void cpu_dump_state (CPUState *env, FILE *f,
cpu_fprintf(f, "IN: PC=%x %s\n",
env->sregs[SR_PC], lookup_symbol(env->sregs[SR_PC]));
- cpu_fprintf(f, "rmsr=%x resr=%x debug[%x] imm=%x iflags=%x\n",
- env->sregs[SR_MSR], env->sregs[SR_ESR],
+ cpu_fprintf(f, "rmsr=%x resr=%x rear=%x debug[%x] imm=%x iflags=%x\n",
+ env->sregs[SR_MSR], env->sregs[SR_ESR], env->sregs[SR_EAR],
env->debug, env->imm, env->iflags);
cpu_fprintf(f, "btaken=%d btarget=%x mode=%s(saved=%s) eip=%d ie=%d\n",
env->btaken, env->btarget,