]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-04-26 Michael Walle <michael@walle.cc>
authorTom Tromey <tromey@redhat.com>
Tue, 26 Apr 2011 15:38:21 +0000 (15:38 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 26 Apr 2011 15:38:21 +0000 (15:38 +0000)
* remote.c (remote_start_remote): Ack packet after sending the
interrupt sequence.

gdb/ChangeLog
gdb/remote.c

index ebdd64f6acc5ebdcc3aa4805a6fe958d30893a94..63b7d1bc9945ea345454d09a787dc69ad9ecd6a4 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-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by
index 0c2d7012dc13027ea80b785a372475b385abd399..18c8a05e9c8476f62513ef044511a51ef0c78c2f 100644 (file)
@@ -3139,12 +3139,12 @@ remote_start_remote (struct ui_out *uiout, void *opaque)
 
   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.  */