aboutsummaryrefslogtreecommitdiff
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
commitbaa490c486fff0eaf5d8b11e6f16f411f0ab91e1 (patch)
treec88b22abc9eadb8b3bcc48ccb0fe09924e89a8e8 /gdb/alpha-linux-tdep.c
parent * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change. (diff)
downloadbinutils-gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.tar.gz
binutils-gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.tar.bz2
binutils-gdb-baa490c486fff0eaf5d8b11e6f16f411f0ab91e1.zip
* 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.c14
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);