This is the mail archive of the gdb@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: dwarf2 frame unwinder assumptions on SP


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


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