(handle_exception): Return E01 instead of P01 when 'P' command fails.
+1999-10-18 J.T. Conklin <jtc@redback.com>
+
+ * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
+ Return E01 instead of P01 when 'P' command fails.
+
2000-02-05 J.T. Conklin <jtc@redback.com>
* remote.c (putpkt_binary): Handle NAK from target stub.
strcpy (remcomOutBuffer, "OK");
break;
}
- strcpy (remcomOutBuffer, "P01");
+ strcpy (remcomOutBuffer, "E01");
break;
}
case 'G': /* set the value of the CPU registers - return OK */
*
* g return the value of the CPU registers hex data or ENN
* G set the value of the CPU registers OK or ENN
+ * P set the value of a single CPU register OK or ENN
*
* mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
* MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
hex2mem (ptr, (char *)®isters[regno], 4, 0);
else
{
- strcpy (remcomOutBuffer, "P01");
+ strcpy (remcomOutBuffer, "E01");
break;
}
}
*
* g return the value of the CPU registers hex data or ENN
* G set the value of the CPU registers OK or ENN
- * P set the value of a single CPU register OK or P01 (???)
+ * P set the value of a single CPU register OK or ENN
*
* mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
* MAA..AA,LLLL: Write LLLL bytes at address AA.AA OK or ENN
hex2mem (ptr, (char *)®isters[regno], 4, 0);
else
{
- strcpy (remcomOutBuffer, "P01");
+ strcpy (remcomOutBuffer, "E01");
break;
}
}