dlopen()
Russell Shaw
rjshaw@netspace.net.au
Tue Jan 17 06:12:00 GMT 2006
Russell Shaw wrote:
> 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".
For some reason, it is working now. I'm also using gdb-6.4 now.
More information about the Gdb
mailing list