aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-04-12 14:27:40 +0000
committerDaniel Jacobowitz <drow@false.org>2006-04-12 14:27:40 +0000
commit01d3a6ce134b69233591c6ad34ecdf844142e2c4 (patch)
tree647dd7ae61290b686a6336ecd92bc18334f7e9c3 /gdb/remote.c
parent52f16a0ef42872c78d551b416d281a7188ebf007 (diff)
downloadgdb-01d3a6ce134b69233591c6ad34ecdf844142e2c4.zip
gdb-01d3a6ce134b69233591c6ad34ecdf844142e2c4.tar.gz
gdb-01d3a6ce134b69233591c6ad34ecdf844142e2c4.tar.bz2
* remote.c (extended_remote_restart): Pass the correct length
to getpkt.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index d60a606..07c8007 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1796,7 +1796,7 @@ extended_remote_restart (void)
/* Now query for status so this looks just like we restarted
gdbserver from scratch. */
putpkt ("?");
- getpkt (&rs->buf, &rs->remote_packet_size, 0);
+ getpkt (&rs->buf, &rs->buf_size, 0);
}
/* Clean up connection to a remote debugger. */