+Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
+
+ * remote-mips.c (common_breakpoint): Explicitly terminate the
+ returned buffer.
+
Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
mips_send_packet (buf, 1);
len = mips_receive_packet (buf, 1, mips_receive_wait);
+ buf[len] = '\0';
nfields = sscanf (buf, "0x%x %c 0x%x 0x%x", &rpid, &rcmd, &rerrflg, &rresponse);
{
int c = SERIAL_READCHAR (mips_desc, 2);
if ((c == SERIAL_TIMEOUT) || (c != 0x06)) {
- fprintf_unfiltered (gdb_stderr, "Failed to received valid ACK\n");
+ fprintf_unfiltered (gdb_stderr, "Failed to receive valid ACK\n");
return(-1); /* terminate the download */
}
return(0);