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


> 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?
If so then it is enough to emit simple location description like it was emitted
for normal varaibles before variable tracking was merged.

Josef


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