dwarf2 loclist question

Daniel Jacobowitz drow@false.org
Fri Apr 2 15:24:00 GMT 2004


On Fri, Apr 02, 2004 at 03:55:21PM +0200, Josef Zlomek wrote:
> > The third party debugger I am using requires DW_AT_return_addr be generated
> > for subroutines. It uses this for stack trace. The return address location can
> > be specified correctly only by loclist. The return address location before
> > prologue, after prologue and  at epilogue will be different. 
> 
> Is not return address supposed to be at the same offset from frame base or in
> the same register in the whole function?

No, not necessarily.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list