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 | baa490c486fff0eaf5d8b11e6f16f411f0ab91e1 (patch) | |
tree | c88b22abc9eadb8b3bcc48ccb0fe09924e89a8e8 /gdb/alpha-linux-tdep.c | |
parent | ffdab7f6274d26cb5a8915723710c76c7e46b31c (diff) | |
download | gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.zip gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.tar.gz gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.tar.bz2 |
* 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 519638d..de53b3e 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); |