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-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-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index da514bf..f2b354f 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -24,6 +24,7 @@ #include "frame.h" #include "frame-unwind.h" #include "frame-base.h" +#include "dwarf2-frame.h" #include "inferior.h" #include "symtab.h" #include "value.h" @@ -1582,6 +1583,14 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) } void +alpha_dwarf2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) +{ + 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); +} + +void _initialize_alpha_tdep (void) { struct cmd_list_element *c; |