aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-tdep.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ee0ba5..3f0bc8a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-01 Richard Henderson <rth@redhat.com>
+
+ * alpha-tdep.c (alpha_gdbarch_init): Use set_gdbarch_print_insn ...
+ (_initialize_alpha_tdep): ... not deprecated_tm_print_insn.
+
2003-06-01 Adam Fedor <fedor@gnu.org>
* gdbarch.sh (function_list): Add FETCH_POINTER_ARGUMENT.
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. */