This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: debugging shared libraries
On 1/5/06, Anthony Heading <ajrh@ajrh.net> wrote:
> The problem I see, as I tried to allude to but maybe didn't
> make clear, is e.g. that tab-completion of the breakpoint symbol
> obviously doesn't work. And although that might not seem
> a major problem, I assumed that made it very difficult for the
> GUI front ends to gdb (kdbg / eclipse / whatever) to be started
> against a shared library. (Which is my real ideal).
One of the problems here is that, technically, we don't know which
shared library the dynamic linker will actually load until the program
starts running, so we can't offer completion on its symbols. We could
try to guess what the dynamic linker was going to do, but that's kind
of a mess.