aboutsummaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:27:56 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-06-10 07:27:56 +0000
commit0613284fd49388e6d5938e76e471362485c6c93e (patch)
tree701fe75ed8d9bad2d580b3ca9eff768f97a5ffa8 /opcodes/h8300-dis.c
parent28d7dee9f8d1335bac2a2c51ea152d4d3db46823 (diff)
downloadgdb-0613284fd49388e6d5938e76e471362485c6c93e.zip
gdb-0613284fd49388e6d5938e76e471362485c6c93e.tar.gz
gdb-0613284fd49388e6d5938e76e471362485c6c93e.tar.bz2
opcodes/
* h8300-dis.c (bfd_h8_disassemble): Don't print brackets round rts/l and rte/l register lists. gas/ * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register lists. Allow single-register ranges. testsuite/ * gas/h8300/h8sx_rtsl.[sd]: New test. * gas/h8300/h8300.exp: Run it.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r--opcodes/h8300-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c
index 299267f..ea8d30b 100644
--- a/opcodes/h8300-dis.c
+++ b/opcodes/h8300-dis.c
@@ -698,7 +698,7 @@ bfd_h8_disassemble (addr, info, mach)
outfn (stream, "er%d", regno[1]);
else
{
- outfn (stream, "(er%d-er%d)", regno[1] - regno[0],
+ outfn (stream, "er%d-er%d", regno[1] - regno[0],
regno[1]);
}
return qi->length;