This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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 loclist question


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


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