This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change stubs to handle '$' after packet start



   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]