dwarf2 and frame bases

Daniel Jacobowitz drow@false.org
Thu Nov 11 21:18:00 GMT 2004


On Thu, Nov 11, 2004 at 08:41:40PM +0100, Mark Kettenis wrote:
> The problem here is that the debug information provided my the
> compiler is wrong, or at least incomplete.  This should be fixed in
> the compiler, not in GDB.  Unfortunately this probably means we need
> to have proper support for location expressions in GDB.

Is there anything in particular that you know is missing?  The only
open issue I know of is multiple locations with overapping live ranges.
Using a location list for the frame base should work.

[But it's not clear how useful making DW_AT_frame_base work from the
first instruction of the function is... the locals are all still
uninitialized anyway.]

-- 
Daniel Jacobowitz



More information about the Gdb mailing list