Using GDB on dynamically loaded code

Using GDB on dynamically loaded code

Post by Matthew Russel » Sun, 15 Apr 2001 04:04:21



How can I use Gnu gdb to step into my dynamically loaded code? I'm using
glib's g_module_* functions, which I think wrap dlopen etc. When I run my
program from within gdb, I get this message:

warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Any help would be gratefully received!

Matthew R.