I have a product with a C-executable which allows users to write their
own shared objects
which then are loaded using "dlopen". Now, if my customer want to debug
code using gdb, he cannot find his function-name until run-time when we
shared object. And now since our code is not debuggable, he cannot stop
my code to set a breakpoint in his code.
surprisingly, In solaris, one can set a break point in main executable
its not debuggable , although you still cannot see stack trace and any other
usable information, but still this allows you to set up a debug point in
your own code which is debbuggable.
Do anyone know whythis happens ? and is there any way to mimic the behaviour
of solaris on Linux ?
I do not know where to put this stuff.....
please let me know the solution for thsi.....