dwarf2 frame unwinder assumptions on SP
Daniel Jacobowitz
drow@false.org
Mon Jul 11 17:06:00 GMT 2005
On Mon, Jul 11, 2005 at 10:02:36AM -0700, Richard Henderson wrote:
> On Mon, Jul 11, 2005 at 12:03:34PM -0400, Daniel Jacobowitz wrote:
> > I have the nagging feeling this has come up before, but I can't
> > remember the conclusion.
>
> That dwarf2 doesn't have the proper codes to represent anything
> other than entry-sp-equals-cfa and entry-sp-stored-on-stack.
That's right, but I meant the change to GDB's internal representation
specifically.
BTW, the latest dwarf3 draft does include appropriate unwinding rules
for register = cfa + value, along with a couple of other useful ones.
That draft isn't publicly available yet, but see here:
http://dwarf.freestandards.org/ShowIssue.php?issue=030812.2&type=closed
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list