Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: gdb-patches@sources.redhat.com
Subject: [RFA] enable dwarf2 unwinder for alpha
Date: Sun, 01 Jun 2003 03:48:00 -0000	[thread overview]
Message-ID: <20030601034817.GA2050@twiddle.net> (raw)

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


             reply	other threads:[~2003-06-01  3:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01  3:48 Richard Henderson [this message]
2003-06-01  9:24 ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030601034817.GA2050@twiddle.net \
    --to=rth@twiddle.net \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox