This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]