aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-06-16 20:46:47 +0000
committerNicholas Duffek <nsd@redhat.com>2000-06-16 20:46:47 +0000
commit39c20e8f1e3578b34f9da85ff8eee1ec0f5ad2de (patch)
treebab19f530704c37da98e62358a1bf0735ab5369b /opcodes
parent87f33987cd6376948264593f5307a9704fdb83a2 (diff)
downloadgdb-39c20e8f1e3578b34f9da85ff8eee1ec0f5ad2de.zip
gdb-39c20e8f1e3578b34f9da85ff8eee1ec0f5ad2de.tar.gz
gdb-39c20e8f1e3578b34f9da85ff8eee1ec0f5ad2de.tar.bz2
* disassemble.c (disassembler): Refer to the PowerPC 620 using
bfd_mach_ppc_620 instead of 620.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/disassemble.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f02f542..fcf7bc8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-16 Nick Duffek <nsd@redhat.com>
+
+ * disassemble.c (disassembler): Refer to the PowerPC 620 using
+ bfd_mach_ppc_620 instead of 620.
+
2000-06-12 Kazu Hirata <kazu@hxi.com>
* h8300-dis.c: Fix formatting.
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 072aa42..3f463c9 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -217,7 +217,7 @@ disassembler (abfd)
#endif
#ifdef ARCH_rs6000
case bfd_arch_rs6000:
- if (bfd_get_mach (abfd) == 620)
+ if (bfd_get_mach (abfd) == bfd_mach_ppc_620)
disassemble = print_insn_big_powerpc;
else
disassemble = print_insn_rs6000;