aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-11-26 23:04:02 +0000
committerJeff Law <law@redhat.com>1996-11-26 23:04:02 +0000
commit069279b34a20bd09a630651c2a1a31ebc24dfe29 (patch)
tree9847a6eb091faf24a76da79cbf2c73c40f409d19
parent73e6529893a8146ff7aaaa9b7c2fca8c8817da1e (diff)
downloadgdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.zip
gdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.tar.gz
gdb-069279b34a20bd09a630651c2a1a31ebc24dfe29.tar.bz2
* mn10300-dis.c (disasemble): Finish conversion to '$' as
register prefix. Fixes improper disassembly of movm instructions.
-rw-r--r--opcodes/ChangeLog3
-rw-r--r--opcodes/mn10300-dis.c10
2 files changed, 8 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 43b88e7..b2925a8 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,8 @@
Tue Nov 26 13:24:17 1996 Jeffrey A Law (law@cygnus.com)
+ * mn10300-dis.c (disasemble): Finish conversion to '$' as
+ register prefix.
+
* mn10300-opc.c (mn10300_opcodes): Fix mask field for
mov am,(imm32,sp).
diff --git a/opcodes/mn10300-dis.c b/opcodes/mn10300-dis.c
index 9ed8327..afae501 100644
--- a/opcodes/mn10300-dis.c
+++ b/opcodes/mn10300-dis.c
@@ -377,7 +377,7 @@ disassemble (memaddr, info, insn, extension, size)
(*info->fprintf_func) (info->stream, "[");
if (value & 0x80)
{
- (*info->fprintf_func) (info->stream, "%d2");
+ (*info->fprintf_func) (info->stream, "$d2");
comma = 1;
}
@@ -385,7 +385,7 @@ disassemble (memaddr, info, insn, extension, size)
{
if (comma)
(*info->fprintf_func) (info->stream, ",");
- (*info->fprintf_func) (info->stream, "%d3");
+ (*info->fprintf_func) (info->stream, "$d3");
comma = 1;
}
@@ -393,7 +393,7 @@ disassemble (memaddr, info, insn, extension, size)
{
if (comma)
(*info->fprintf_func) (info->stream, ",");
- (*info->fprintf_func) (info->stream, "%a2");
+ (*info->fprintf_func) (info->stream, "$a2");
comma = 1;
}
@@ -401,7 +401,7 @@ disassemble (memaddr, info, insn, extension, size)
{
if (comma)
(*info->fprintf_func) (info->stream, ",");
- (*info->fprintf_func) (info->stream, "%a3");
+ (*info->fprintf_func) (info->stream, "$a3");
comma = 1;
}
@@ -409,7 +409,7 @@ disassemble (memaddr, info, insn, extension, size)
{
if (comma)
(*info->fprintf_func) (info->stream, ",");
- (*info->fprintf_func) (info->stream, "%other");
+ (*info->fprintf_func) (info->stream, "$other");
comma = 1;
}
(*info->fprintf_func) (info->stream, "]");