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/alphanbsd-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/alphanbsd-tdep.c')
-rw-r--r-- | gdb/alphanbsd-tdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index 0fdbb63..efb7ab9 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -198,6 +198,12 @@ alphanbsd_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, alphanbsd_pc_in_sigtramp); /* NetBSD/alpha does not provide single step support via ptrace(2); we |