aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-02 08:18:36 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-02 08:18:36 +0000
commit687fa640d49ce19b9b9a2258fde19e1500bfabb4 (patch)
treef835f5923fdf8a4592176d9630978c411e082834 /target-arm
parentd34cab9f49bc3ad83a2a968fc2d2719179db2c15 (diff)
Random bug fixes from code inspection, by Wang Cheng Yeh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2580 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 4cb9142f4f..1631fcd312 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -2583,8 +2583,8 @@ void cpu_dump_state(CPUState *env, FILE *f,
cpu_fprintf(f, " ");
}
psr = cpsr_read(env);
- cpu_fprintf(f, "PSR=%08x %c%c%c%c %c %s%d %x\n",
- psr,
+ cpu_fprintf(f, "PSR=%08x %c%c%c%c %c %s%d\n",
+ psr,
psr & (1 << 31) ? 'N' : '-',
psr & (1 << 30) ? 'Z' : '-',
psr & (1 << 29) ? 'C' : '-',