2011-04-26 Michael Walle <michael@walle.cc>
authorTom Tromey <tromey@redhat.com>
Tue, 26 Apr 2011 15:40:57 +0000 (15:40 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 26 Apr 2011 15:40:57 +0000 (15:40 +0000)
* remote.c (remote_start_remote): Ack packet after sending the
interrupt sequence.

gdb/ChangeLog
gdb/remote.c

index 6ce440781cae9e367ec66b872f6798ace412a744..6658e7445692a50651a8dfaa00f4a6a82eed208e 100644 (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 ...
index fdb45734369aa7f3fd7dbe31a9e569e9a08bcc22..9a0eae0a857086e6dbf46415d17b7651c507094c 100644 (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.  */
This page took 0.039921 seconds and 4 git commands to generate.