This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
debugging dynamic link/load code on Linux
- From: Jack J <get_info101 at yahoo dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 15 Oct 2003 13:10:57 -0700 (PDT)
- Subject: debugging dynamic link/load code on Linux
Hi,
I am new to gdb mailing list.
I have a question and if this list is not appropriate,
please apologize. I am hoping someone can shed some
light with helpful tips and pointers.
question: How do I set a breakpoint in a module/code
which is dynamically linked/loaded in Linux ?
I tried setting a breaking point (in gdb) after
dlsym() but, gdb still complains of function not
found.
I did have it compiled with "-g" gcc option.
-- gdb output--
(gdb) b test_routine
Function "test_routine" not defined.
(gdb) l test_routine
Function "test_routine" not defined.
-----
Thanks,
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com