public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* dlopen()
@ 2006-01-17  5:54 Russell Shaw
  2006-01-17  6:00 ` dlopen() Jim Blandy
  2006-01-17  6:12 ` dlopen() Russell Shaw
  0 siblings, 2 replies; 4+ messages in thread
From: Russell Shaw @ 2006-01-17  5:54 UTC (permalink / raw)
  To: gdb

Hi,

I do:

   void *handle = dlopen("libfile1.so", RTLD_NOW);
   ...
   newfunc = dlsym(handle, "afunc");
   ...
   int res = (*newfunc)(app);

How do i stop inside the "newfunc" function? I set a breakpoint
there, but it doesn't activate.

I'm using GNU gdb 6.3-debian on a pc.
I compiled with CFLAGS="-g -O0".

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

end of thread, other threads:[~2006-01-17  6:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-17  5:54 dlopen() Russell Shaw
2006-01-17  6:00 ` dlopen() Jim Blandy
2006-01-17 21:28   ` dlopen() Russell Shaw
2006-01-17  6:12 ` dlopen() Russell Shaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).