Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* debugging dynamic link/load code on Linux
@ 2003-10-15 20:11 Jack J
  2003-10-15 20:14 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Jack J @ 2003-10-15 20:11 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-15 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 20:11 debugging dynamic link/load code on Linux Jack J
2003-10-15 20:14 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox