From f63f30e2cc5681e794b64e7452eb8758d400cdee Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 11 Jun 1993 20:35:35 +0000 Subject: * remote-mips.c (mips_send_packet): Don't print garbage character in debugging info. (mips_request): Don't check that remote pid is 0, because sometimes it isn't. --- gdb/remote-mips.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/remote-mips.c') diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 2dc6dd2..3a668ad 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -574,7 +574,7 @@ mips_send_packet (s, get_ack) hdr[HDR_LENGTH] = '\0'; trlr[TRLR_LENGTH] = '\0'; printf_filtered ("Got ack %d \"%s%s\"\n", - HDR_GET_SEQ (hdr), hdr, trlr); + HDR_GET_SEQ (hdr), hdr + 1, trlr); } /* If this ack is for the current packet, we're done. */ @@ -805,7 +805,6 @@ mips_request (cmd, addr, data, perr) if (sscanf (buff, "0x%x %c 0x%x 0x%x", &rpid, &rcmd, &rerrflg, &rresponse) != 4 - || rpid != 0 || (cmd != '\0' && rcmd != cmd)) error ("Bad response from remote board"); -- cgit v1.1