This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: remove waitabit() from i386-stub.c
- To: jtc@redback.com
- Subject: Re: remove waitabit() from i386-stub.c
- From: Stan Shebs <shebs@cygnus.com>
- Date: Thu, 19 Aug 1999 18:18:52 -0700
- CC: gdb-patches@sourceware.cygnus.com
From: jtc@redback.com (J.T. Conklin)
Date: 17 Aug 1999 23:10:18 -0700
This change was once included as part of a change to add 'P' protocol
support to the i386-stub.c. It must have been overlooked at the time.
This removes the function waitabit() from the i386-stub. It's only
purpose is to needlessly delay the return of the breakpoint()
function.
There was probably a rationale for this at one time, probably something
to do with giving the user enough time to fire up GDB or switch terminals
or something. But its actual purpose is unexplained in the code, and
it's been there unchanged since 1991, so the timing is completely
different with today's x86s...
1999-08-17 J.T. Conklin <jtc@redback.com>
* i386-stub.c (waitabit): Removed.
(breakpoint): Update.
I've whacked it from the repository (waitabit, not i386-stub.c :-) ).
Stan