aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-01 15:53:56 +0000
committerRichard Henderson <rth@redhat.com>2003-06-01 15:53:56 +0000
commitf1a559ae83066397c1367d2bcb30a47417d7634e (patch)
tree37233ba3546a069de648864e42efb1e65e32366f
parent95404a3ece6de2f0ccb7e604c8f7931e1f6bc97a (diff)
downloadgdb-f1a559ae83066397c1367d2bcb30a47417d7634e.zip
gdb-f1a559ae83066397c1367d2bcb30a47417d7634e.tar.gz
gdb-f1a559ae83066397c1367d2bcb30a47417d7634e.tar.bz2
* alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/alpha-linux-tdep.c15
2 files changed, 17 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3b8d79d..78ab5b1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-01 Richard Henderson <rth@redhat.com>
+
+ * alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
+
2003-06-01 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (is_mips16_addr): New function.
diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c
index e89a0fa..519638d 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);