This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
dlopen()
- From: Russell Shaw <rjshaw at netspace dot net dot au>
- To: gdb at sources dot redhat dot com
- Date: Tue, 17 Jan 2006 15:34:22 +1100
- Subject: dlopen()
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".