This is the mail archive of the gdb@sourceware.org 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: check for valid location of zero length dwarf block forms?


On Sat, 21 Nov 2009 04:42:58 +0100, Jack Howarth wrote:
> ...as dwarf debug info containing an AT_location with
> any block form having a zero length.

It is correct and equivalent according to the DWARF spec. and for gcc it seems
to differentiate a case of known optimized-out value (=empty) vs. the case of
gcc failed to describe the variable location (=missing).
	dwarflint: DW_AT_location being empty vs. missing check
	https://fedorahosted.org/pipermail/elfutils-devel/2009-March/000179.html
	https://fedorahosted.org/pipermail/elfutils-devel/2009-March/000180.html


Regards,
Jan


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