This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] enable dwarf2 unwinder for alpha


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]