aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 03:38:09 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 03:38:09 +0000
commit5ef165c2ea8fea1f72c392c3dddc687ca58b1b87 (patch)
treedf41fee6e177d1820ab129d5af842c02e5cf6a86 /gdb/alpha-tdep.c
parent2c16140788f0d0df61228801ca26ad552150693d (diff)
downloadgdb-5ef165c2ea8fea1f72c392c3dddc687ca58b1b87.zip
gdb-5ef165c2ea8fea1f72c392c3dddc687ca58b1b87.tar.gz
gdb-5ef165c2ea8fea1f72c392c3dddc687ca58b1b87.tar.bz2
* alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
(_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 8f2cb38..bc4daa2 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1263,6 +1263,9 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Prologue heuristics. */
set_gdbarch_skip_prologue (gdbarch, alpha_skip_prologue);
+ /* Disassembler. */
+ set_gdbarch_print_insn (gdbarch, print_insn_alpha);
+
/* Call info. */
set_gdbarch_frame_num_args (gdbarch, frame_num_args_unknown);
set_gdbarch_frameless_function_invocation (gdbarch,
@@ -1317,7 +1320,6 @@ _initialize_alpha_tdep (void)
struct cmd_list_element *c;
gdbarch_register (bfd_arch_alpha, alpha_gdbarch_init, NULL);
- deprecated_tm_print_insn = print_insn_alpha;
/* Let the user set the fence post for heuristic_proc_start. */