This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: remote debugging and source files
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
regards,
h
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU
"AÃ rÃn" | [Analects XII:22]