* [RFA] enable dwarf2 unwinder for alpha
@ 2003-06-01 3:48 Richard Henderson
2003-06-01 9:24 ` Mark Kettenis
0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2003-06-01 3:48 UTC (permalink / raw)
To: gdb-patches
Ok?
r~
* alpha-linux-tdep.c (alpha_linux_init_abi): Install dwarf2 unwinder.
Index: alpha-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alpha-linux-tdep.c,v
retrieving revision 1.10
diff -c -p -d -r1.10 alpha-linux-tdep.c
*** alpha-linux-tdep.c 29 May 2003 23:02:53 -0000 1.10
--- alpha-linux-tdep.c 1 Jun 2003 03:39:03 -0000
***************
*** 20,29 ****
#include "defs.h"
#include "frame.h"
#include "gdbcore.h"
- #include "value.h"
- #include "osabi.h"
#include "gdb_assert.h"
#include "alpha-tdep.h"
--- 20,34 ----
#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"
*************** alpha_linux_init_abi (struct gdbarch_inf
*** 131,136 ****
--- 136,147 ----
{
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-01 9:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-01 3:48 [RFA] enable dwarf2 unwinder for alpha Richard Henderson
2003-06-01 9:24 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox