summaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-09 15:14:57 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-09 15:14:57 +0000
commit682c4f15598fa82eb00973b9b14be86d1e5a726c (patch)
treeee4e2428f8dbbbb4b09cfd21051c06ddef3ec52d /disas.c
parentc090a8f4406ac674c1ae0ab4f3a789ca7dcb9720 (diff)
downloadqemu-682c4f15598fa82eb00973b9b14be86d1e5a726c.tar.gz
qemu-682c4f15598fa82eb00973b9b14be86d1e5a726c.tar.bz2
qemu-682c4f15598fa82eb00973b9b14be86d1e5a726c.zip
Fix monitor disasm output for Sparc64 target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2646 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/disas.c b/disas.c
index c8fb2129be..fd14f682ae 100644
--- a/disas.c
+++ b/disas.c
@@ -384,6 +384,9 @@ void monitor_disas(CPUState *env,
print_insn = print_insn_arm;
#elif defined(TARGET_SPARC)
print_insn = print_insn_sparc;
+#ifdef TARGET_SPARC64
+ disasm_info.mach = bfd_mach_sparc_v9b;
+#endif
#elif defined(TARGET_PPC)
#ifdef TARGET_PPC64
disasm_info.mach = bfd_mach_ppc64;