hiho@ll
i have a library which is loaded by my daemon process
the library starts a server and the server runs a few threads
i want to debug those threads
the threads are defined by proxy.hpp file
if i compile the stuff with
-g -ggdb -g3 -ggdb3
and do
Code:
gdb ./myprog
break proxy.hpp:120
No source file named proxy.hpp.
Make breakpoint pending on future shared library load? (y or [n]) y
run -c ./server.cfg
....
it doesn't break!
it's like no debugger is running
Q1: why doesn't gdb recognize my source files?
it only knows about the main source file
but the source files of the librarys loaded aren't recognized
Q2: if gdb asks for setting the breakpoint in future depending on shared libraries (which i'm using!) why it doesn't break on my breakpoint proxy.hpp:120?
Q3: maybe i have to use different compile flags?
btw. i'm compiling the libraries and the main prog with the flags
and i tried only the flag -g
but i got the same
i'm using GNU gdb 6.3
thx@ll