Commit 1e8a7cfd authored by bellard's avatar bellard
Browse files

Show thumb state in cpu dump (Paul Brook)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1555 c046a42c-6fe2-441c-8c8c-71466251a162
parent 0bccf03d
......@@ -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];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment