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]

Re: RFC: Use Dwarf 2 CFI on PowerPC targets


Andreas Schwab <schwab@suse.de> writes:

> Daniel Jacobowitz <drow@false.org> writes:
> 
> > On Wed, Sep 08, 2004 at 10:43:27AM -0500, Jim Blandy wrote:
> >> 
> >> This works fine on PowerPC E500 Linux; I'm still testing it on other
> >> platforms.  Thus it's a Request for Comments, not Approval.  I'll be
> >> back with test results on AIX, sim, and plain PowerPC Linux in a bit.
> >> 
> >> 2004-09-02  Jim Blandy  <jimb@redhat.com>
> >> 
> >> 	* rs6000-tdep.c: #include "dwarf2-frame.h".
> >> 	(rs6000_dwarf2_reg_to_regnum): Recognize 65 as another number for lr.
> >> 	(rs6000_gdbarch_init): Hook in dwarf2_frame_sniffer.
> >> 	* Makefile.in (rs6000-tdep.o): Update dependencies.
> >
> > Did you ever finish testing these?  There are now twelve targets which
> > use dwarf2_frame_sniffer and I've just posted a patch to enable it for
> > another, but PPC is still behind.
> 
> I've tested the patch with current HEAD on powerpc-suse-linux, and there
> are 73 regressions and 17 progressions.

Which GCC are you using?  One problem I ran into was that GCC's
.debug_frame information used one number for the return address
register in the CIE's, and a different one in the FDE's.


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