summaryrefslogtreecommitdiff
path: root/gdb/alphafbsd-tdep.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-04 06:22:17 +0000
committerRichard Henderson <rth@redhat.com>2003-06-04 06:22:17 +0000
commit71dae6fd7aa45c6184ebeeb1f85687317c0b820e (patch)
treeea2d2d69066fd722b52e9b6a69d0b9879d108b61 /gdb/alphafbsd-tdep.c
parent2fdd510023169469a706cb0e120c99d472989724 (diff)
downloadgdb-71dae6fd7aa45c6184ebeeb1f85687317c0b820e.tar.gz
* alpha-tdep.c (alpha_dwarf2_init_abi): New.
* alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug unwind routines. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c: Remove unnecessary includes. * Makefile.in (alpha-linux-tdep.o): Update.
Diffstat (limited to 'gdb/alphafbsd-tdep.c')
-rw-r--r--gdb/alphafbsd-tdep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c
index 3d8eafb2927..680e303f587 100644
--- a/gdb/alphafbsd-tdep.c
+++ b/gdb/alphafbsd-tdep.c
@@ -68,6 +68,12 @@ alphafbsd_init_abi (struct gdbarch_info info,
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ /* Hook into the DWARF CFI frame unwinder. */
+ alpha_dwarf2_init_abi (info, gdbarch);
+
+ /* Hook into the MDEBUG frame unwinder. */
+ alpha_mdebug_init_abi (info, gdbarch);
+
set_gdbarch_pc_in_sigtramp (gdbarch, alphafbsd_pc_in_sigtramp);
set_gdbarch_use_struct_convention (gdbarch, alphafbsd_use_struct_convention);