remove waitabit() from i386-stub.c

Stan Shebs shebs@cygnus.com
Thu Aug 19 18:18:00 GMT 1999


   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


More information about the Gdb-patches mailing list