This is the mail archive of the
mailing list for the GDB project.
Re: breaking on open(2) on linux
> > The breakpoint is probably being set elsewhere, e.g. open in libpthread.so
> Nowadays (6.8) you'll get a breakpoint at every copy so it should work
Do you mean multiple breakpoint locations? With 188.8.131.5280411-cvs I just get
one address: the one in libpthread.so.
My `solution' was wrong though, as the symbols for libpthread.so just get
read when a breakpoint is set on open.
For some reason in GDB 6.6, a pending breakpoint gets resolved in libc.so
while in 184.108.40.20680411-cvs it gets resolved in libpthread.so.