Commit 682c4f15598fa82eb00973b9b14be86d1e5a726c
1 parent
c090a8f4
Fix monitor disasm output for Sparc64 target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2646 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
disas.c
| @@ -384,6 +384,9 @@ void monitor_disas(CPUState *env, | @@ -384,6 +384,9 @@ void monitor_disas(CPUState *env, | ||
| 384 | print_insn = print_insn_arm; | 384 | print_insn = print_insn_arm; |
| 385 | #elif defined(TARGET_SPARC) | 385 | #elif defined(TARGET_SPARC) |
| 386 | print_insn = print_insn_sparc; | 386 | print_insn = print_insn_sparc; |
| 387 | +#ifdef TARGET_SPARC64 | ||
| 388 | + disasm_info.mach = bfd_mach_sparc_v9b; | ||
| 389 | +#endif | ||
| 387 | #elif defined(TARGET_PPC) | 390 | #elif defined(TARGET_PPC) |
| 388 | #ifdef TARGET_PPC64 | 391 | #ifdef TARGET_PPC64 |
| 389 | disasm_info.mach = bfd_mach_ppc64; | 392 | disasm_info.mach = bfd_mach_ppc64; |