warning: Unable to find dynamic linker breakpoint function

Adam Richard g4c9z@unb.ca
Fri Dec 31 00:36:00 GMT 2004


Quoting Daniel Jacobowitz <drow@false.org>:

> On Wed, Dec 29, 2004 at 05:33:04PM -0400, Adam Richard wrote:
> > I wonder if someone knows what the following warning means?  It appears whenever I
> use
> > the "run" command to start my program:
> > 
> > (gdb) run
> > Starting program: /home/adam/programming/programs/meals/meals
> > warning: Unable to find dynamic linker breakpoint function.
> > GDB will be unable to debug shared library initializers
> > and track explicitly loaded dynamic code.
> > 
> > I found a few posts related to it but few people seem to know what the warning
> message
> > itself means.
> 
> It means exactly what it says - GDB could not set the breakpoint that
> it uses for tracking things like dlopen().
> 
> I can't guess at causes, since you didn't tell us what your platform
> is.

Actually, the error message isn't really clear - I just looked up what dlopen does, but
I don't see what it has to do with breakpoints.  As to my platform, I'm using Gentoo
Linux, kernel 2.6.9, on an AMD Athlon XP processor.  I read somewhere that it might
have to do with a stripped gdb but I don't understand why I can't have a stripped gdb
so I'm hoping for an explanation.



More information about the Gdb mailing list