From 5ef165c2ea8fea1f72c392c3dddc687ca58b1b87 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 2 Jun 2003 03:38:09 +0000 Subject: [PATCH] * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. --- gdb/ChangeLog | 5 +++++ gdb/alpha-tdep.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ee0ba5918e..3f0bc8aecbb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 Richard Henderson + + * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ... + (_initialize_alpha_tdep): ... not deprecated_tm_print_insn. + 2003-06-01 Adam Fedor * gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT. diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 8f2cb38a479..bc4daa272d0 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. */ -- 2.30.2