diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-04 06:22:17 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-04 06:22:17 +0000 |
commit | 71dae6fd7aa45c6184ebeeb1f85687317c0b820e (patch) | |
tree | ea2d2d69066fd722b52e9b6a69d0b9879d108b61 /gdb/alpha-linux-tdep.c | |
parent | 2fdd510023169469a706cb0e120c99d472989724 (diff) | |
download | gdb-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/alpha-linux-tdep.c')
-rw-r--r-- | gdb/alpha-linux-tdep.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index 519638ddb97..de53b3e71b3 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -20,15 +20,8 @@ #include "defs.h" #include "frame.h" -#include "frame-base.h" -#include "frame-unwind.h" -#include "dwarf2-frame.h" -#include "gdbcore.h" #include "gdb_assert.h" #include "osabi.h" -#include "symtab.h" -#include "symfile.h" -#include "value.h" #include "alpha-tdep.h" @@ -131,15 +124,12 @@ alpha_linux_sigcontext_addr (struct frame_info *next_frame) } static void -alpha_linux_init_abi (struct gdbarch_info info, - struct gdbarch *gdbarch) +alpha_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep; /* Hook into the DWARF CFI frame unwinder. */ - frame_unwind_append_predicate (gdbarch, dwarf2_frame_p); - frame_base_append_predicate (gdbarch, dwarf2_frame_base_p); - set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info); + alpha_dwarf2_init_abi (info, gdbarch); /* Hook into the MDEBUG frame unwinder. */ alpha_mdebug_init_abi (info, gdbarch); |