aboutsummaryrefslogtreecommitdiff
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
commit886851536e132e96a7ea6c2500853f4ada250ff1 (patch)
treea782ce47aa95c3158e576d006a34ba1f133705f0 /opcodes
parent3f230321daaad517b4203d19e90ebc3b63b43a42 (diff)
downloadgdb-886851536e132e96a7ea6c2500853f4ada250ff1.zip
gdb-886851536e132e96a7ea6c2500853f4ada250ff1.tar.gz
gdb-886851536e132e96a7ea6c2500853f4ada250ff1.tar.bz2
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 1114d48..36b0679 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 7e3d450..36612a2 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];