break points for shared libs

Daniel Jacobowitz drow@false.org
Thu Dec 7 14:36:00 GMT 2006


On Thu, Dec 07, 2006 at 05:34:29PM +0530, Anitha Boyapati wrote:
>  I want to set breakpoints in shared lib sources while executing another 
>  program.But the symbol is being overridden whenever I use 
>  
>  file test.so

Don't use file.  It needs to be automatic or it won't work at all.

> warning: shared library handler failed to enable breakpoint

This is the problem.  You didn't say what platform you're debugging,
how you're running GDB, or anything else - one of those is to blame.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list