This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: break points for shared libs


On Thu, Dec 07, 2006 at 07:40:03PM +0530, Anitha Boyapati wrote:
> On Thu, 7 Dec 2006, Daniel Jacobowitz wrote:
> 
> > 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.
>  
>  Sorry!
>  gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
>  This GDB was configured as "i386-redhat-linux-gnu".

What system are you running GDB on?

How are you running GDB?

Please send a transcript of a session which demonstrates the warning.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]