aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arm-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-09-30 16:21:50 +0000
committerNick Clifton <nickc@redhat.com>2004-09-30 16:21:50 +0000
commit0dd132b63cb935b9e55b4d2545bb70c9dc094dea (patch)
tree5eff7b97c42795a652b2a013e7d61b2251a8f4cf /opcodes/arm-dis.c
parent0779438dba11a355a0b4e273027eb72e8b8f2bfd (diff)
downloadgdb-0dd132b63cb935b9e55b4d2545bb70c9dc094dea.zip
gdb-0dd132b63cb935b9e55b4d2545bb70c9dc094dea.tar.gz
gdb-0dd132b63cb935b9e55b4d2545bb70c9dc094dea.tar.bz2
Apply Paul Brook's patch to implement armv6k instructions
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r--opcodes/arm-dis.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index e918daf..44cdeac 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1,5 +1,5 @@
/* Instruction printing code for the ARM
- Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org)
Modification by James G. Smith (jsmith@cygnus.co.uk)
@@ -900,6 +900,15 @@ print_insn_arm (pc, info, given)
}
break;
+ case 'e':
+ {
+ int imm;
+
+ imm = (given & 0xf) | ((given & 0xfff00) >> 4);
+ func (stream, "%d", imm);
+ }
+ break;
+
default:
abort ();
}