This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb influencing app behaviour ?
- From: Danny Backx <danny dot backx at scarlet dot be>
- To: Andreas Schwab <schwab at redhat dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Tue, 15 Mar 2011 20:09:27 +0100
- Subject: Re: gdb influencing app behaviour ?
- References: <1300134373.2002.8.camel@pavilion> <m3fwqou4vg.fsf@redhat.com>
- Reply-to: danny dot backx at scarlet dot be
On di, 2011-03-15 at 10:09 +0100, Andreas Schwab wrote:
> Danny Backx <danny.backx@scarlet.be> writes:
>
> > The application appears to behave differently when I set a breakpoint in
> > that function. (The application and the library were both trying to read
> > from the socket, by setting the breakpoint the other one would always
> > win the race.)
> >
> > How can this be explained ?
>
> Any debugger will change the timing of the debuggee.
Yeah, I'm aware of that. I was trying to figure out whether this
scenario rings a bell for anyone here. Googling it turned up nothing.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info