summaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-06-02 22:56:52 +0000
committerAndreas Schwab <schwab@suse.de>2003-06-02 22:56:52 +0000
commit57d18bfcb263d7d828b7a1210aeece14ccddf140 (patch)
tree485b15326a12b128bfa0d5973584f068e4030b54 /gdb/m68k-tdep.c
parent9ea9fa6c1f9028cd70849e442379bc0bd7ba94ad (diff)
downloadgdb-57d18bfcb263d7d828b7a1210aeece14ccddf140.tar.gz
* m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
(_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index a7b87c5357d..44be19da5de 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -966,6 +966,9 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Should be using push_dummy_call. */
set_gdbarch_deprecated_dummy_write_sp (gdbarch, generic_target_write_sp);
+ /* Disassembler. */
+ set_gdbarch_print_insn (gdbarch, print_insn_m68k);
+
#if defined JB_PC && defined JB_ELEMENT_SIZE
tdep->jb_pc = JB_PC;
tdep->jb_elt_size = JB_ELEMENT_SIZE;
@@ -999,5 +1002,4 @@ void
_initialize_m68k_tdep (void)
{
gdbarch_register (bfd_arch_m68k, m68k_gdbarch_init, m68k_dump_tdep);
- deprecated_tm_print_insn = print_insn_m68k;
}