summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-04-12 14:27:40 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-04-12 14:27:40 +0000
commit7da443709caf25b9b70a1db2900f321ef94284d0 (patch)
tree46619ec62ca3ff72661c59e82162b328682f2daf /gdb/remote.c
parent68f308a5b2e245274f0c8ab61fc7823fa731e584 (diff)
downloadgdb-7da443709caf25b9b70a1db2900f321ef94284d0.tar.gz
* 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 d60a6062557..07c8007b01e 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. */