diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 18:17:25 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-09-29 18:17:25 +0000 |
commit | c978064302784f368744a8c83f06af457f20f140 (patch) | |
tree | 87949ab1b3f23c768d46ea93830bd2c0bceeceb2 /opcodes/disassemble.c | |
parent | 132d5fd256ba5c65c07db024a2a689cf86bfd805 (diff) | |
download | gdb-c978064302784f368744a8c83f06af457f20f140.tar.gz |
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.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index ce9cd5fec1d..58713bd6c66 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -107,7 +107,7 @@ disassembler (abfd) #endif #ifdef ARCH_cris case bfd_arch_cris: - disassemble = print_insn_cris; + disassemble = cris_get_disassembler (abfd); break; #endif #ifdef ARCH_d10v |