This is the mail archive of the gdb-patches@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: [RFA] Location list support.


On Sat, Feb 01, 2003 at 08:50:13AM +0100, Michal Ludvig wrote:
> Hi all,
> this is a first part of my attempt to enable use of dwarf3 .debug_loc 
> sections (as generated by GCC's rtlopt-branch) for variable tracking.
> With this patch GDB at least doesn't segfault as it did when trying to 
> debug a binary with .debug_loc section.
> It can already read and parse .debug_loc and then use the appropriate 
> first block found for a given DIE for obtaining the SYMBOL_VALUE() in 
> newsymbol(). So now it behaves exactly like it did with GCCs that didn't 
> emit .debug_loc.
> I hope to have a full support (ie. SYMBOL_VALUE that depends on PC) 
> available soon.
> This was developped in gdb-5.3 but should be usable with mainline with 
> no problems.
> 
> Comments? Approvals?
> 
> Michal Ludvig

Michal,

Can I ask you to sit on this patch for another two or three days?  I'll
have LOC_COMPUTED ready probably on Monday, and after that it would be
easy to take what you've done and use it for proper location lists. 
Merging this in now would make my work a lot harder.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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