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

   Now for some new changes...

   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.

The change is innocuous, but is it really useful?  If you're losing
random chars out of packets, seems like it would be better to let
the user know, rather than trying to struggle on with bogus data
and dying within seconds anyway.

								Stan

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