This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob] Missed bit from remote.c cleanups
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 12 Apr 2006 10:28:40 -0400
- Subject: [ob] Missed bit from remote.c cleanups
I've ported the remote.c alloca removal patch to a whole bunch of internal
branches now, and when checking one of them I found this typo. Committed as
obvious.
--
Daniel Jacobowitz
CodeSourcery
2006-04-12 Daniel Jacobowitz <dan@codesourcery.com>
* remote.c (extended_remote_restart): Pass the correct length
to getpkt.
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.206
diff -u -p -r1.206 remote.c
--- remote.c 7 Apr 2006 16:15:58 -0000 1.206
+++ remote.c 12 Apr 2006 14:20:31 -0000
@@ -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. */