diff options
author | Richard Henderson <rth@redhat.com> | 2003-06-01 15:53:56 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2003-06-01 15:53:56 +0000 |
commit | 1207f63f1266ce35b5b4ce39cb98dfbe7a348d7f (patch) | |
tree | 64404e32654f42eab4fc7c4bf46691d9966f296d /gdb/alpha-linux-tdep.c | |
parent | 97c7007423d869c9d80cf4ae8575752fb9e3920c (diff) | |
download | gdb-1207f63f1266ce35b5b4ce39cb98dfbe7a348d7f.tar.gz |
* alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
-rw-r--r-- | gdb/alpha-linux-tdep.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index e89a0fa5fe1..519638ddb97 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -20,10 +20,15 @@ #include "defs.h" #include "frame.h" +#include "frame-base.h" +#include "frame-unwind.h" +#include "dwarf2-frame.h" #include "gdbcore.h" -#include "value.h" -#include "osabi.h" #include "gdb_assert.h" +#include "osabi.h" +#include "symtab.h" +#include "symfile.h" +#include "value.h" #include "alpha-tdep.h" @@ -131,6 +136,12 @@ alpha_linux_init_abi (struct gdbarch_info info, { 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); + + /* Hook into the MDEBUG frame unwinder. */ alpha_mdebug_init_abi (info, gdbarch); set_gdbarch_pc_in_sigtramp (gdbarch, alpha_linux_pc_in_sigtramp); |