forked from Imagelibrary/binutils-gdb
2011-04-26 Michael Walle <michael@walle.cc>
* remote.c (remote_start_remote): Ack packet after sending the interrupt sequence.
This commit is contained in:
@@ -3162,12 +3162,12 @@ remote_start_remote (int from_tty, struct target_ops *target, int extended_p)
|
||||
|
||||
immediate_quit++; /* Allow user to interrupt it. */
|
||||
|
||||
/* Ack any packet which the remote side has already sent. */
|
||||
serial_write (remote_desc, "+", 1);
|
||||
|
||||
if (interrupt_on_connect)
|
||||
send_interrupt_sequence ();
|
||||
|
||||
/* Ack any packet which the remote side has already sent. */
|
||||
serial_write (remote_desc, "+", 1);
|
||||
|
||||
/* The first packet we send to the target is the optional "supported
|
||||
packets" request. If the target can answer this, it will tell us
|
||||
which later probes to skip. */
|
||||
|
||||
Reference in New Issue
Block a user