2011-04-26 Michael Walle <michael@walle.cc>
[deliverable/binutils-gdb.git] / gdb / remote.c
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.024351 seconds and 4 git commands to generate.