Redhat debuggin problem with gdb

Redhat debuggin problem with gdb

Post by Elvis Che » Wed, 05 Nov 1997 04:00:00


        My system:
                redhat 4.2 with kernel 2.0.30-3,
                xfree 3.3.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,



1. debuggin' without gdb ??

Hello Everyone,

is there a possibility to debug programs
just like we did with DOS-debug?
since gdb always the symbolic info that
i don't have becouse i do not have
the source but only the binary
Ich, setze meine Kommas, da wo ich, will hin.
Lank lehbe dih R?chtschaiprephorm.

2. Mail resets permissions!!!!

3. gdb problem (gdb 4.8, gcc 2.6.2)

4. Cron at year end - help

5. Problems with GDB debugging in RedHat 5.0

6. How do you use pwd in a script????

7. Recovering Backup After System Crash?

8. bash shell debuggin with step?

9. Debuggin core files between os versions.

10. Redirect debuggin output

11. thread debuggin

12. Debuggin' DOOM ?!