aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m68k-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-05-05 14:33:14 +0000
committerNick Clifton <nickc@redhat.com>2004-05-05 14:33:14 +0000
commit6b6e92f432c86611c81a5da6880946bad25b59dc (patch)
tree9b92050c4b2399f52aebbc64343bdf41fb5642b4 /opcodes/m68k-dis.c
parenta404d431a86c8271c36f168ec7cd4f6678e13209 (diff)
downloadgdb-6b6e92f432c86611c81a5da6880946bad25b59dc.zip
gdb-6b6e92f432c86611c81a5da6880946bad25b59dc.tar.gz
gdb-6b6e92f432c86611c81a5da6880946bad25b59dc.tar.bz2
Add support for 521x,5249,547x,548x.
Diffstat (limited to 'opcodes/m68k-dis.c')
-rw-r--r--opcodes/m68k-dis.c34
1 files changed, 19 insertions, 15 deletions
diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c
index 365d54a..e27a9a6 100644
--- a/opcodes/m68k-dis.c
+++ b/opcodes/m68k-dis.c
@@ -240,48 +240,52 @@ print_insn_m68k (memaddr, info)
arch_mask = (unsigned int) -1;
break;
case bfd_mach_m68000:
- arch_mask = m68000;
+ arch_mask = m68000|m68881|m68851;
break;
case bfd_mach_m68008:
- arch_mask = m68008;
+ arch_mask = m68008|m68881|m68851;
break;
case bfd_mach_m68010:
- arch_mask = m68010;
+ arch_mask = m68010|m68881|m68851;
break;
case bfd_mach_m68020:
- arch_mask = m68020;
+ arch_mask = m68020|m68881|m68851;
break;
case bfd_mach_m68030:
- arch_mask = m68030;
+ arch_mask = m68030|m68881|m68851;
break;
case bfd_mach_m68040:
- arch_mask = m68040;
+ arch_mask = m68040|m68881|m68851;
break;
case bfd_mach_m68060:
- arch_mask = m68060;
+ arch_mask = m68060|m68881|m68851;
break;
case bfd_mach_mcf5200:
- arch_mask = mcf5200;
+ arch_mask = mcfisa_a;
break;
+ case bfd_mach_mcf521x:
case bfd_mach_mcf528x:
- arch_mask = mcf528x | mcfmac;
+ arch_mask = mcfisa_a|mcfhwdiv|mcfisa_aa|mcfusp|mcfemac;
break;
case bfd_mach_mcf5206e:
- arch_mask = mcf5206e | mcfmac;
+ arch_mask = mcfisa_a|mcfhwdiv|mcfmac;
+ break;
+ case bfd_mach_mcf5249:
+ arch_mask = mcfisa_a|mcfhwdiv|mcfemac;
break;
case bfd_mach_mcf5307:
- arch_mask = mcf5307 | mcfmac;
+ arch_mask = mcfisa_a|mcfhwdiv|mcfmac;
break;
case bfd_mach_mcf5407:
- arch_mask = mcf5407 | mcfmac;
+ arch_mask = mcfisa_a|mcfhwdiv|mcfisa_b|mcfmac;
break;
+ case bfd_mach_mcf547x:
+ case bfd_mach_mcf548x:
case bfd_mach_mcfv4e:
- arch_mask = mcfv4e | mcfemac;
+ arch_mask = mcfisa_a|mcfhwdiv|mcfisa_b|mcfusp|cfloat|mcfemac;
break;
}
- arch_mask |= m68881 | m68851;
-
bestmask = 0;
FETCH_DATA (info, buffer + 2);
major_opcode = (buffer[0] >> 4) & 15;