diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-08-21 10:14:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-08-21 10:14:28 +0000 |
commit | 1e8a7cfd11385ee43ce28cca6b52f5834a4fff4a (patch) | |
tree | 7dc8b19f22e97b61fd166c210f2d9dd9307e4bef /target-arm | |
parent | 0bccf03d6f6d0c9ecb4534d1d5b7bb49350bd84e (diff) | |
download | qemu-1e8a7cfd11385ee43ce28cca6b52f5834a4fff4a.zip qemu-1e8a7cfd11385ee43ce28cca6b52f5834a4fff4a.tar.gz qemu-1e8a7cfd11385ee43ce28cca6b52f5834a4fff4a.tar.bz2 |
Show thumb state in cpu dump (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1555 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index adbd561..c3e8fe8 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -2204,12 +2204,13 @@ void cpu_dump_state(CPUState *env, FILE *f, else cpu_fprintf(f, " "); } - cpu_fprintf(f, "PSR=%08x %c%c%c%c\n", + cpu_fprintf(f, "PSR=%08x %c%c%c%c %c\n", env->cpsr, env->cpsr & (1 << 31) ? 'N' : '-', env->cpsr & (1 << 30) ? 'Z' : '-', env->cpsr & (1 << 29) ? 'C' : '-', - env->cpsr & (1 << 28) ? 'V' : '-'); + env->cpsr & (1 << 28) ? 'V' : '-', + env->thumb ? 'T' : 'A'); for (i = 0; i < 16; i++) { d.d = env->vfp.regs[i]; |