aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.r@gmail.com>2009-11-17 10:43:09 +0000
committerRamana Radhakrishnan <ramana.r@gmail.com>2009-11-17 10:43:09 +0000
commit0bb027fd62c2b317e0003ab6f49fde486c4cd1ee (patch)
tree859dd07d155f77dbe77c77a720eb287b8a21787e /opcodes/arm-dis.c
parent27b4051da36116c9e9d95d3120b815c042496899 (diff)
downloadgdb-0bb027fd62c2b317e0003ab6f49fde486c4cd1ee.zip
gdb-0bb027fd62c2b317e0003ab6f49fde486c4cd1ee.tar.gz
gdb-0bb027fd62c2b317e0003ab6f49fde486c4cd1ee.tar.bz2
2009-11-17 Edward Nevill <edward.nevill@arm.com>
* arm-dis.c (print_insn_thumb32): Handle undefined instruction.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 0d99c6c..ba19f7c 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -3932,6 +3932,10 @@ print_insn_thumb32 (bfd_vma pc, struct disassemble_info *info, long given)
func (stream, "%c", c[(1 << width) - (int) val]);
c += 1 << width;
break;
+
+ case 'x':
+ func (stream, "0x%lx", val & 0xffffffffUL);
+ break;
default:
abort ();