This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dwarf2 loclist question
- From: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 2 Apr 2004 15:55:21 +0200
- Subject: Re: dwarf2 loclist question
- References: <69595093233BB547BB70CF5E492B63F204D2BA90@sohm.kpit.com>
> 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