mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* remote.c (extended_remote_restart): Pass the correct length
to getpkt.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-04-12 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* remote.c (extended_remote_restart): Pass the correct length
|
||||
to getpkt.
|
||||
|
||||
2006-04-11 Jim Blandy <jimb@codesourcery.com>
|
||||
|
||||
* serial.c (serial_open): Check for special cases at the front of
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user