greetings:
My system:
redhat 4.2 with kernel 2.0.30-3,
xfree 3.3.1
gcc 2.7.2.1
gdb 4.16
on Pentium 200MMX, 64MB of RAM.
I have problems with debugging ANY C/C++ programs (with -g compile option)
under gdb. Whenever I run a program in gdb, I get the following message:
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
this is true for programs that only have math-library (-lm) linked.
Program will run until it encounter problems, and it wouldn't give any
debugging informations (eg. source code reference, etc) at all.
Someone has informed me that this is due to the fact that Redhat librarys
DID *NOT* have debugging information when it was compiled, and suggested
me to compile my own library. I just want to confirm this is true, and to
see if there is a quick fix on that.
thanks in advance,
Elvis