Changes to add dollar prefix to registers for files where user symbols
authorHans-Peter Nilsson <hp@axis.com>
Fri, 29 Sep 2000 18:17:25 +0000 (18:17 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 29 Sep 2000 18:17:25 +0000 (18:17 +0000)
commit78966507d672fab5b76cd6836735804a16918fab
tree271c768f651a7d0efb07f1b41516119125a45bdd
parentfc7372e2a7165aba3c2436e447dd3bda2239618a
Changes to add dollar prefix to registers for files where user symbols
don't have a leading underscore.  Fix formatting.
* cris-dis.c (REGISTER_PREFIX_CHAR): New.
(format_reg): Add parameter with_reg_prefix.  All callers changed.
(print_with_operands): Ditto.
(print_insn_cris_generic): Renamed from print_insn_cris, add
parameter with_reg_prefix.
(print_insn_cris_with_register_prefix,
print_insn_cris_without_register_prefix, cris_get_disassembler):
New.
* disassemble.c (disassembler) [ARCH_cris]: Call cris_get_disassembler.
opcodes/ChangeLog
opcodes/cris-dis.c
opcodes/disassemble.c