summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-07 09:14:56 +0000
committerNick Clifton <nickc@redhat.com>1999-05-07 09:14:56 +0000
commit538268ef87439be7ea0690cbcd0029778e4ffc3d (patch)
treefef73da05a6c698d6a8093f19818913416f5b4ae /opcodes
parent6f6c6ccb6f8509e7561f44625acb4cc858152ad1 (diff)
downloadgdb-538268ef87439be7ea0690cbcd0029778e4ffc3d.tar.gz
Use .short to display unidentified instructions
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/mcore-dis.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 1114d48f7fc..36b067983d8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-07 Nick Clifton <nickc@cygnus.com>
+
+ * mcore-dis.c (print_insn_mcore): Use .short to display
+ unidentified instructions, not .word.
+
1999-04-26 Tom Tromey <tromey@cygnus.com>
* aclocal.m4, configure: Updated for new version of libtool.
diff --git a/opcodes/mcore-dis.c b/opcodes/mcore-dis.c
index 7e3d45056b3..36612a2e6f7 100644
--- a/opcodes/mcore-dis.c
+++ b/opcodes/mcore-dis.c
@@ -126,7 +126,7 @@ print_insn_mcore (memaddr, info)
break;
if (op->name == 0)
- fprintf (stream, ".word 0x%04x", inst);
+ fprintf (stream, ".short 0x%04x", inst);
else
{
const char * name = grname[inst & 0x0F];