This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Change stubs to handle '$' after packet start
- To: jtc@redback.com
- Subject: Re: Change stubs to handle '$' after packet start
- From: Stan Shebs <shebs@cygnus.com>
- Date: Wed, 25 Aug 1999 18:15:42 -0700
- CC: gdb-patches@sourceware.cygnus.com
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