From JTC: Handle NAK from target stub.

This commit is contained in:
Andrew Cagney 2000-02-09 02:51:55 +00:00
parent 25c1c39719
commit 1216fa2c08
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-05 J.T. Conklin <jtc@redback.com>
* remote.c (putpkt_binary): Handle NAK from target stub.
2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Remove the addition of sol-thread.c to the

View File

@ -3730,6 +3730,7 @@ putpkt_binary (buf, cnt)
switch (ch)
{
case '+':
case '-':
case SERIAL_TIMEOUT:
case '$':
if (started_error_output)
@ -3746,6 +3747,9 @@ putpkt_binary (buf, cnt)
if (remote_debug)
fprintf_unfiltered (gdb_stdlog, "Ack\n");
return 1;
case '-':
if (remote_debug)
fprintf_unfiltered (gdb_stdlog, "Nak\n");
case SERIAL_TIMEOUT:
tcount++;
if (tcount > 3)