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: GDB using addr2line?


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


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