This is the mail archive of the gdb@sources.redhat.com 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: remote debugging and source files


On Tue, Aug 24, 2004 at 07:42:57PM +0200, Hinko Kocevar wrote:
> Kris Warkentin wrote:
> >auto-solib-add will only work properly if gdb successfully sets the 
> >solib event breakpoint in the loader.  Try 'maint info breakpoints' and 
> >see if it's being set.  You could also try setting stop-on-solib-events 
> >to see if it's actually stopping.  Sometimes you have problems if there 
> >is a different version of the loader on host and target.
> >
> 
> It seems that solib events have enabled breakpoint,
> 
> (gdb) maintenance info breakpoints
> Num Type           Disp Enb Address    What
> -2  longjmp resume keep n   0x00000000
> -3  shlib events   keep y   0x4000b8d8
> 
> but execution won't stop if I do
> 	set stop-on-solib-events 1

Check whether that breakpoint is in the right place.  Probably it
isn't.  Probably Kris is right that there is a mismatch...

-- 
Daniel Jacobowitz


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