diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-04-11 23:57:07 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-04-11 23:57:07 +0200 |
commit | 2e42d52d95d613e38961727e6bac2028681340e3 (patch) | |
tree | f86ac9c05e2405670240609603410868f6c0d72e | |
parent | 3b584046aae87df3ac195cc85b89ff86c1a8db01 (diff) | |
download | qemu-2e42d52d95d613e38961727e6bac2028681340e3.tar.gz qemu-2e42d52d95d613e38961727e6bac2028681340e3.tar.bz2 qemu-2e42d52d95d613e38961727e6bac2028681340e3.zip |
microblaze: Correct ec mask in debug print
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index e651bfdad8..91600877d2 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2258,7 +2258,7 @@ void cpu_loop (CPUState *env) break; default: printf ("Unhandled hw-exception: 0x%x\n", - env->sregs[SR_ESR] & 5); + env->sregs[SR_ESR] & ESR_EC_MASK); cpu_dump_state(env, stderr, fprintf, 0); exit (1); break; |