This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB using addr2line?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Fri, 7 May 2004 16:57:48 -0400
- Subject: Re: GDB using addr2line?
- References: <409BDEB7.6070005@gnu.org>
On Fri, May 07, 2004 at 03:08:39PM -0400, Andrew Cagney wrote:
> Hello,
>
> As anyone looked at (interested in) getting GDB and addr2line sharing
> common linetable code? A libsal (source and line) say.
>
> GDB, for N:M breakpoints, needs a better line table, if addr2line is
> going to keep working its going to need something similar.
addr2line has an adequate address to line (duh) mapping. It's in BFD,
unsurprisingly. It doesn't maintain any data structures worth speaking
about for going the other way, which is what GDB will need; and I don't
think other BFD clients are going to need that either.
--
Daniel Jacobowitz