aboutsummaryrefslogtreecommitdiff
path: root/opcodes/a29k-dis.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-05-08 00:19:06 +0000
committerSteve Chamberlain <sac@cygnus>1994-05-08 00:19:06 +0000
commitab678720c78c016a77ac857f94f43e15842c0865 (patch)
tree120a95db24e043ac870d9399abd5dd05e7b25689 /opcodes/a29k-dis.c
parenta47d2dc447b771abcdca814a6bf95e058172e96c (diff)
downloadgdb-ab678720c78c016a77ac857f94f43e15842c0865.zip
gdb-ab678720c78c016a77ac857f94f43e15842c0865.tar.gz
gdb-ab678720c78c016a77ac857f94f43e15842c0865.tar.bz2
* a29k-dis.c (print_insn): Print 'x' type operand in hex.
* h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly. * sh-dis.c (print_insn_sh): Don't recur endlessly if delay slot insn is in a delay slot. * z8k-opc.h: (resflg): Fix patterns. * h8500-opc.h Fix CR insn patterns.
Diffstat (limited to 'opcodes/a29k-dis.c')
-rw-r--r--opcodes/a29k-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c
index 574acab..3675979 100644
--- a/opcodes/a29k-dis.c
+++ b/opcodes/a29k-dis.c
@@ -188,7 +188,7 @@ print_insn (memaddr, info)
break;
case 'x':
- (*info->fprintf_func) (info->stream, "%d", (insn16 << 8) + insn0);
+ (*info->fprintf_func) (info->stream, "0x%x", (insn16 << 8) + insn0);
break;
case 'h':