Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] enable CFI for mips
@ 2004-07-20 19:20 Martin M. Hunt
  2004-07-26 22:02 ` Andrew Cagney
  2004-07-26 22:03 ` Andrew Cagney
  0 siblings, 2 replies; 3+ messages in thread
From: Martin M. Hunt @ 2004-07-20 19:20 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

2004-07-20  Kevin Buettner <kevinb@redhat.com>
	and Martin Hunt  <hunt@redhat.com>
  
        * mips-tdep.c (dwarf2-frame.h): Include.
        (mips_gdbarch_init): Enable DWARF2 CFI support.

-- 
Martin M. Hunt <hunt@redhat.com>
Red Hat Inc.

[-- Attachment #2: mips_cfi.patch --]
[-- Type: text/x-patch, Size: 812 bytes --]

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.301
diff -u -r1.301 mips-tdep.c
--- mips-tdep.c	10 Jul 2004 01:17:52 -0000	1.301
+++ mips-tdep.c	20 Jul 2004 19:18:19 -0000
@@ -54,6 +54,7 @@
 #include "frame-base.h"
 #include "trad-frame.h"
 #include "infcall.h"
+#include "dwarf2-frame.h"
 
 static const struct objfile_data *mips_pdr_data;
 
@@ -5734,6 +5735,8 @@
   set_gdbarch_addr_bits_remove (gdbarch, mips_addr_bits_remove);
 
   /* Unwind the frame.  */
+  frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
+  frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);
   set_gdbarch_unwind_pc (gdbarch, mips_unwind_pc);
   set_gdbarch_unwind_dummy_id (gdbarch, mips_unwind_dummy_id);
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] enable CFI for mips
  2004-07-20 19:20 [RFA] enable CFI for mips Martin M. Hunt
@ 2004-07-26 22:02 ` Andrew Cagney
  2004-07-26 22:03 ` Andrew Cagney
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2004-07-26 22:02 UTC (permalink / raw)
  To: Martin M. Hunt; +Cc: gdb-patches

> +  frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
> +  frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer);

Ok once the other stuff is in.

Andrew



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] enable CFI for mips
  2004-07-20 19:20 [RFA] enable CFI for mips Martin M. Hunt
  2004-07-26 22:02 ` Andrew Cagney
@ 2004-07-26 22:03 ` Andrew Cagney
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2004-07-26 22:03 UTC (permalink / raw)
  To: Martin M. Hunt; +Cc: gdb-patches

Oops, forgot, can you post a test result comparison so that we can see 
the effect of the change?

Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-26 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-20 19:20 [RFA] enable CFI for mips Martin M. Hunt
2004-07-26 22:02 ` Andrew Cagney
2004-07-26 22:03 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox