Commit d4b55be509f8a12cf8f456847596df88f49c2bf8
1 parent
a8f48dcc
Fix register name typo in dumping debug registers (Jan Kiszka)
Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5855 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-i386/helper.c
... | ... | @@ -647,7 +647,7 @@ void cpu_dump_state(CPUState *env, FILE *f, |
647 | 647 | for(i = 0; i < 4; i++) |
648 | 648 | cpu_fprintf(f, "DR%d=%016" PRIx64 " ", i, env->dr[i]); |
649 | 649 | cpu_fprintf(f, "\nDR6=%016" PRIx64 " DR7=%016" PRIx64 "\n", |
650 | - env->dr[6], env->cr[7]); | |
650 | + env->dr[6], env->dr[7]); | |
651 | 651 | } else |
652 | 652 | #endif |
653 | 653 | { |
... | ... | @@ -681,7 +681,7 @@ void cpu_dump_state(CPUState *env, FILE *f, |
681 | 681 | (uint32_t)env->cr[4]); |
682 | 682 | for(i = 0; i < 4; i++) |
683 | 683 | cpu_fprintf(f, "DR%d=%08x ", i, env->dr[i]); |
684 | - cpu_fprintf(f, "\nDR6=%08x DR7=%08x\n", env->dr[6], env->cr[7]); | |
684 | + cpu_fprintf(f, "\nDR6=%08x DR7=%08x\n", env->dr[6], env->dr[7]); | |
685 | 685 | } |
686 | 686 | if (flags & X86_DUMP_CCOP) { |
687 | 687 | if ((unsigned)env->cc_op < CC_OP_NB) | ... | ... |