From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Snyder To: Charles Wilkins Cc: gdb@sourceware.cygnus.com Subject: Re: gdb warning Date: Fri, 01 Jun 2001 17:49:00 -0000 Message-id: <3B1837E0.8708E54B@cygnus.com> References: <005601c0e705$ec46f5a0$2b6e60cf@cg470161b> X-SW-Source: 2001-06/msg00000.html Charles Wilkins wrote: > > I have seen posts about this is the web and in a couple newgroups, but I > have seen no clear solutions or definition as to what this message means. > > When i run gdb, I get warning: unable to find dynamic linker > breakpoint function. > GDB will be unable to debug shared library initializers and track > explicitly loaded dynamic code. > > I have installed the latest gdb and gcc. > > Minimally, to duplicate this error, I compile with: > g++ -g test.cpp > > Then to debug, I run: > gdb a.out > > In the debugger when I try to run, is when I get the error. > > Anybody care to point out what the cause of this is ? > > Thanks in advance for a prompt reply. In general, the cause is that GDB was not able to find and/or load symbols from the dynamic linker. I can't tell you more specifically than that. Perhaps the dynamic linker is not in the usual location? Perhaps it has been stripped? Perhaps its filename is not as expected?