Cannot insert a breakpoint in shared Library

Posted by ronan on Stack Overflow See other posts from Stack Overflow or by ronan
Published on 2010-04-28T08:22:07Z Indexed on 2010/04/28 8:23 UTC
Read the original article Hit count: 312

Filed under:
|

Friends

While debugging an application of of the function is defined in a shared library which is written by another vendor . and I get an error like

warning: Cannot insert breakpoint 0: in /opt/trims/uat/lib/libTIPS_Oleca.sl

warning: This is because your shared libraries are not mapped private. To attach to a process and debug its shared libraries you must prepare the program with "/opt/langtools/bin/pxdb -s on a.out or "chatr +dbg enable a.out ".**

warning: Add this to your Makefile for debug builds warning: so that each rebuilt debuggable a.out would warning: have this feature turned on. Temporarily disabling shared library breakpoints:0

Now the problem is I cannot modify the shared library . How do I resolve this error ? Many Thanks

© Stack Overflow or respective owner

Related posts about gdb

Related posts about c++