GDB using addr2line?

Daniel Jacobowitz drow@false.org
Fri May 7 20:57:00 GMT 2004


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



More information about the Gdb mailing list