aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-06-11 20:35:35 +0000
committerIan Lance Taylor <ian@airs.com>1993-06-11 20:35:35 +0000
commitf63f30e2cc5681e794b64e7452eb8758d400cdee (patch)
tree46230b9a93a1bb660d1c438b6b0a7341c96b884d /gdb
parent49b12db0ce321fa9b0bffd79a68ec2337ccba258 (diff)
downloadgdb-f63f30e2cc5681e794b64e7452eb8758d400cdee.zip
gdb-f63f30e2cc5681e794b64e7452eb8758d400cdee.tar.gz
gdb-f63f30e2cc5681e794b64e7452eb8758d400cdee.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/remote-mips.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a78970a..0144a39 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jun 11 13:33:40 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * 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.
+
Fri Jun 11 10:17:41 1993 Jim Kingdon (kingdon@cygnus.com)
* stack.c (print_frame_info): Use catch_errors around print_frame_args.
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");