This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Location list support.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Sat, 1 Feb 2003 11:57:54 -0500
- Subject: Re: [RFA] Location list support.
- References: <3E3B7C35.6030208@suse.cz>
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