* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.

(_initialize_arm_tdep): Don't set tm_print_insn.
This commit is contained in:
Richard Earnshaw 2003-03-25 14:52:33 +00:00
parent 3fe38064ba
commit 03d48a7d6c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-25 Richard Earnshaw <rearnsha@arm.com>
* arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
(_initialize_arm_tdep): Don't set tm_print_insn.
2003-03-24 Adam Fedor <fedor@gnu.org>
* Makefile.in (YYOBJ): Add objc-exp.tab.o

View File

@ -3004,6 +3004,9 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* XXX For an RDI target we should ask the target if it can single-step. */
set_gdbarch_software_single_step (gdbarch, arm_software_single_step);
/* Disassembly. */
set_gdbarch_print_insn (gdbarch, gdb_print_insn_arm);
/* Minsymbol frobbing. */
set_gdbarch_elf_make_msymbol_special (gdbarch, arm_elf_make_msymbol_special);
set_gdbarch_coff_make_msymbol_special (gdbarch,
@ -3102,8 +3105,6 @@ _initialize_arm_tdep (void)
gdbarch_register_osabi (bfd_arch_arm, 0, GDB_OSABI_ARM_APCS,
arm_init_abi_apcs);
tm_print_insn = gdb_print_insn_arm;
/* Get the number of possible sets of register names defined in opcodes. */
num_disassembly_options = get_arm_regname_num_options ();