From 03d48a7d6c27e7eafcc972dfcfce666a7d2c7d56 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 25 Mar 2003 14:52:33 +0000 Subject: [PATCH] * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. (_initialize_arm_tdep): Don't set tm_print_insn. --- gdb/ChangeLog | 5 +++++ gdb/arm-tdep.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4c3623e2768..d555a521cf3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-03-25 Richard Earnshaw + + * arm-tdep.c (arm_gdbarch_init): Register the disassembler function. + (_initialize_arm_tdep): Don't set tm_print_insn. + 2003-03-24 Adam Fedor * Makefile.in (YYOBJ): Add objc-exp.tab.o diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 94918dbc96b..f2c8951839e 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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 (); -- 2.30.2