Change stubs to handle '$' after packet start

Stan Shebs shebs@cygnus.com
Wed Aug 25 18:15:00 GMT 1999


   From: jtc@redback.com (J.T. Conklin)
   Date: 17 Aug 1999 23:26:32 -0700

   This change adds code in getpacket() to start a new packet if the
   packet start character ('$') is received while reading the packet
   contents.  This prevents the loss of the subsequent packet if the
   packet end character '#' is lost/garbled.

	   --jtc

   1999-08-17  J.T. Conklin  <jtc@redback.com>

	   * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sh-stub.c,
	   sparc-stub, sparcl-stub.c sparclet-stub.c (getpacket): If '$',
	   the packet start character is received in the 'middle' of a 
	   packet, assume that packet end character has been lost and
	   start a new packet

So I went to apply these to the sources, and all the hunks failed; it
looks like you might have made other changes that are affecting all
the patch contexts?

								Stan


More information about the Gdb-patches mailing list