aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2007-03-24 02:51:28 +0000
committerPaul Brook <paul@codesourcery.com>2007-03-24 02:51:28 +0000
commit4146fd53c038b90fd48e64999ffbb7f98175b758 (patch)
treecf0248a2a0510207ed6b520adee583f5e4dc0ae3 /opcodes
parentb67020158a3eb3a54f3eb7c6dbc3944afe993bea (diff)
downloadgdb-4146fd53c038b90fd48e64999ffbb7f98175b758.zip
gdb-4146fd53c038b90fd48e64999ffbb7f98175b758.tar.gz
gdb-4146fd53c038b90fd48e64999ffbb7f98175b758.tar.bz2
2007-03-24 Paul Brook <paul@codesourcery.com>
opcodes/ * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x. (print_insn_coprocessor): Handle %<bitfield>x.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arm-dis.c9
2 files changed, 12 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5f94a36..3761ce0 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,4 +1,9 @@
2007-03-24 Paul Brook <paul@codesourcery.com>
+
+ * arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
+ (print_insn_coprocessor): Handle %<bitfield>x.
+
+2007-03-24 Paul Brook <paul@codesourcery.com>
Mark Shinwell <shinwell@codesourcery.com>
* arm-dis.c (arm_opcodes): Print SRS base register.
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 80e5cac..6e65026 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -279,8 +279,8 @@ static const struct opcode32 coprocessor_opcodes[] =
{FPU_VFP_EXT_V1, 0x0e100b10, 0x0ff00fff, "fmrdl%c\t%12-15r, %z2"},
{FPU_VFP_EXT_V1, 0x0e200b10, 0x0ff00fff, "fmdhr%c\t%z2, %12-15r"},
{FPU_VFP_EXT_V1, 0x0e300b10, 0x0ff00fff, "fmrdh%c\t%12-15r, %z2"},
- {FPU_VFP_EXT_V1xD, 0x0ee00a10, 0x0ff00fff, "fmxr%c\t<impl def 0x%16-19x>, %12-15r"},
- {FPU_VFP_EXT_V1xD, 0x0ef00a10, 0x0ff00fff, "fmrx%c\t%12-15r, <impl def 0x%16-19x>"},
+ {FPU_VFP_EXT_V1xD, 0x0ee00a10, 0x0ff00fff, "fmxr%c\t<impl def %16-19x>, %12-15r"},
+ {FPU_VFP_EXT_V1xD, 0x0ef00a10, 0x0ff00fff, "fmrx%c\t%12-15r, <impl def %16-19x>"},
{FPU_VFP_EXT_V1xD, 0x0e000a10, 0x0ff00f7f, "fmsr%c\t%y2, %12-15r"},
{FPU_VFP_EXT_V1xD, 0x0e100a10, 0x0ff00f7f, "fmrs%c\t%12-15r, %y2"},
{FPU_VFP_EXT_V1xD, 0x0eb50a40, 0x0fbf0f70, "fcmp%7'ezs%c\t%y1"},
@@ -1868,6 +1868,11 @@ print_insn_coprocessor (bfd_vma pc, struct disassemble_info *info, long given,
case 'G':
func (stream, "%s", iwmmxt_cregnames[value]);
break;
+
+ case 'x':
+ func (stream, "0x%lx", value);
+ break;
+
case '`':
c++;
if (value == 0)