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:
parent
af96c192dc
commit
57e1221187
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-26 Michael Walle <michael@walle.cc>
|
||||
|
||||
* remote.c (remote_start_remote): Ack packet after sending the
|
||||
interrupt sequence.
|
||||
|
||||
2011-04-26 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* linux-nat.c: Move common macros to ...
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue