This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Use Dwarf 2 CFI on PowerPC targets
- From: Jim Blandy <jimb at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 29 Mar 2005 12:41:48 -0500
- Subject: Re: RFC: Use Dwarf 2 CFI on PowerPC targets
- References: <vt2zn40936n.fsf@zenia.home><20050326224408.GB1151@nevyn.them.org> <je4qexj4zx.fsf@sykes.suse.de>
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.