aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-28 03:03:44 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-28 03:03:44 +0000
commit36482093be91e14938ad5a9a200b0b9f1263953b (patch)
tree9ccbb2fb89986d666bf2b6e6559c7fa628e179c0 /gdb/hppa-tdep.c
parent0285512f2902753c8185679567b0d0dc95c3c129 (diff)
downloadgdb-36482093be91e14938ad5a9a200b0b9f1263953b.zip
gdb-36482093be91e14938ad5a9a200b0b9f1263953b.tar.gz
gdb-36482093be91e14938ad5a9a200b0b9f1263953b.tar.bz2
2003-08-27 Andrew Cagney <cagney@redhat.com>
* Makefile.in (cris-tdep.o): Update dependencies. * cris-tdep.c: Include "gdb_assert.h". (cris_gdbarch_init): Set print_insn. (_initialize_cris_tdep): Do not set deprecated_tm_print_insn. (cris_delayed_get_disassembler): Simplify, directly call the disassembler returned by cris_get_disassembler. * hppa-tdep.c (hppa_gdbarch_init): Set print_insn. (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn. * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn. (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn. * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn. (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn. * mcore-tdep.c (mcore_gdbarch_init): Set print_insn. (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn. * frv-tdep.c (frv_gdbarch_init): Set print_insn. (_initialize_frv_tdep): Do not set deprecated_tm_print_insn. * sparc-tdep.c (sparc_gdbarch_init): Set print_insn. (gdb_print_insn_sparc): Delete function. (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or deprecated_tm_print_insn_info. * v850-tdep.c (v850_gdbarch_init): Set print_insn. (_initialize_v850_tdep): Do not set deprecated_tm_print_insn. (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn. (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn. * s390-tdep.c (gdb_print_insn_s390): Delete function. (_initialize_s390_tdep): Do not set deprecated_tm_print_insn. (s390_gdbarch_init): Set print_insn.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 699cd74..c5b010c 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -5203,6 +5203,8 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Helper for function argument information. */
set_gdbarch_fetch_pointer_argument (gdbarch, hppa_fetch_pointer_argument);
+ set_gdbarch_print_insn (gdbarch, print_insn_hppa);
+
/* Hook in ABI-specific overrides, if they have been registered. */
gdbarch_init_osabi (info, gdbarch);
@@ -5224,7 +5226,6 @@ _initialize_hppa_tdep (void)
void break_at_finish_at_depth_command (char *arg, int from_tty);
gdbarch_register (bfd_arch_hppa, hppa_gdbarch_init, hppa_dump_tdep);
- deprecated_tm_print_insn = print_insn_hppa;
add_cmd ("unwind", class_maintenance, unwind_command,
"Print unwind table entry at given address.",