aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r--gdb/mn10300-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 7e84eb9..be9bf97 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -1218,6 +1218,8 @@ mn10300_gdbarch_init (struct gdbarch_info info,
/* Should be using push_dummy_call. */
set_gdbarch_deprecated_dummy_write_sp (gdbarch, deprecated_write_sp);
+ set_gdbarch_print_insn (gdbarch, print_insn_mn10300);
+
return gdbarch;
}
@@ -1226,7 +1228,5 @@ _initialize_mn10300_tdep (void)
{
/* printf("_initialize_mn10300_tdep\n"); */
- deprecated_tm_print_insn = print_insn_mn10300;
-
register_gdbarch_init (bfd_arch_mn10300, mn10300_gdbarch_init);
}