diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-02 03:38:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-02 03:38:09 +0000 |
commit | b177466a2a109fd031465bbf0f4cea1456bec037 (patch) | |
tree | 13560d4f3750823928f0fb6e33060f06c9c86bcd /gdb/alpha-tdep.c | |
parent | 1b2dba29133800b770bee46b2cb5782dc85c9a4a (diff) | |
download | gdb-b177466a2a109fd031465bbf0f4cea1456bec037.tar.gz |
* 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.c | 4 |
1 files changed, 3 insertions, 1 deletions
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. */ |