aboutsummaryrefslogtreecommitdiff
path: root/opcodes/a29k-dis.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-15 20:46:46 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-15 20:46:46 +0000
commite96a2b1d468ec328e24cdbf0585ec754d9d941fa (patch)
tree27f5ee7c0d0b004f9bdede1981276a29816fe68a /opcodes/a29k-dis.c
parent7aa8f49656c7c82b933a78d17ffed157feeff50f (diff)
downloadgdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.zip
gdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.tar.gz
gdb-e96a2b1d468ec328e24cdbf0585ec754d9d941fa.tar.bz2
* a29k-dis.c (print_insn): Print the opcode.
PR 4779.
Diffstat (limited to 'opcodes/a29k-dis.c')
-rw-r--r--opcodes/a29k-dis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c
index 3675979..2766902 100644
--- a/opcodes/a29k-dis.c
+++ b/opcodes/a29k-dis.c
@@ -151,6 +151,8 @@ print_insn (memaddr, info)
(*find_byte_func) (insn, &insn0, &insn8, &insn16, &insn24);
+ printf ("%02x%02x%02x%02x ", insn24, insn16, insn8, insn0);
+
/* Handle the nop (aseq 0x40,gr1,gr1) specially */
if ((insn24==0x70) && (insn16==0x40) && (insn8==0x01) && (insn0==0x01)) {
(*info->fprintf_func) (info->stream,"nop");