This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR 18655
Daniel Jacobowitz wrote:
Assuming it bakes OK on the mainline, I would like this patch for 4.0.
Eventually GDB will use DWARF-2 unwind information on PPC; the longer
GCC generates bad unwind information, the harder it will be to adapt
GDB. So I have high motivation to see 4.0.1 fixed.
There were no complaints, and no objections to the idea of putting in
4.0, so I went ahead and committed. If there's any trouble, for some
unforseen reason, it's coming back out, though.
It's probably going to require a gruesome unwinding hack anyway.
Can you treat a return address of 0x41 in the CFA as meaning 0x6c on
PowerPC? Or notice the mismatch somehow? (I'm curious, in other words,
as to whether you drop the non-DWARF2 unwinding by default, and
compensate for the sometimes-broken DWARF2.)
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304