aboutsummaryrefslogtreecommitdiff
path: root/gdb/w65-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/w65-tdep.c')
-rw-r--r--gdb/w65-tdep.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/gdb/w65-tdep.c b/gdb/w65-tdep.c
index 0b047ec..3af771f 100644
--- a/gdb/w65-tdep.c
+++ b/gdb/w65-tdep.c
@@ -65,18 +65,6 @@ w65_push_dummy_frame ()
abort ();
}
-int
-print_insn (memaddr, stream)
- CORE_ADDR memaddr;
- GDB_FILE *stream;
-{
- disassemble_info info;
-
- GDB_INIT_DISASSEMBLE_INFO (info, stream);
-
- return print_insn_w65 ((bfd_vma) memaddr, &info);
-}
-
/* Put here the code to store, into a struct frame_saved_regs,
the addresses of the saved registers of frame described by FRAME_INFO.
This includes special registers such as pc and fp saved in special
@@ -299,3 +287,9 @@ print_register_hook (regno)
printf_unfiltered ("<= ");
}
}
+
+void
+_initialize_w65_tdep ()
+{
+ tm_print_insn = print_insn_w65;
+}