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:
Tom Tromey 2011-04-26 15:40:57 +00:00
parent af96c192dc
commit 57e1221187
2 changed files with 8 additions and 3 deletions

View file

@ -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 ...

View file

@ -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. */