Hi,
Linux 2.2.14
gdb 4.18
gcc 2.95.2
If I load a program, I cannot set nor find symbols in shared libraries
that this executable needs (this is no problem)
Once the application has been run, the libraries are available and
symbols can be found and breakpoints can be set (e.g by pressing escape
to
terminate current application execution and setting breakpoint in loaded
library).
If however I need to rerun the application the breakpoints that I have
set throughout the previous execution/debugging cycle are remembered but
the debugger that it cannot set the breakpoints in the shared libraries
because it cannot find the location of the source files (It can because
see above).
I remember that is was possible in some previous version/combination of
the debugger compiler. I do not remember which but it surely was not the
version eons ago.
I Checked the object files, they really contain the full path of the
source. Hence $cwd should detect the source file.
I tried to strace the debugger to see if it tries to locate the source
but I could not strace it ;-(
Do you all have any idea's ?
Wim Delvaux