[Dwarf-Discuss] question about [0x0..0xffffffff] location list entry

Joel Brobecker brobecker at adacore.com
Thu Jan 20 09:17:09 PST 2011


Hi Michael,

Thanks a lot for your very well documented answer.

> In this case, the LocList violates the requirements for an
> ending address.
[...]
> The correct LocList for this variable would be [0..0xffffffff].

I am just a little confused by your last sentence.  In offsets,
in the debug_loc section, are 0..0xffffffff, but once we add
the base address, we get the strange empty range.  GDB treated
that range as empty, so were we correct? If we were, out of curiosity,
how would one get the LocList above?

-- 
Joel



More information about the Dwarf-Discuss mailing list