This is the mail archive of the gdb@sources.redhat.com 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: dwarf2 and frame bases


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


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