From: Tom Tromey Date: Tue, 26 Apr 2011 15:38:21 +0000 (+0000) Subject: 2011-04-26 Michael Walle X-Git-Tag: gdb_7_3-2011-07-26-release~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208d76a7300aa3fd0015d692c536828fad31c7a7;p=thirdparty%2Fbinutils-gdb.git 2011-04-26 Michael Walle * remote.c (remote_start_remote): Ack packet after sending the interrupt sequence. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ebdd64f6acc..63b7d1bc994 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-04-26 Michael Walle + + * remote.c (remote_start_remote): Ack packet after sending the + interrupt sequence. + 2011-04-25 Jan Kratochvil * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by diff --git a/gdb/remote.c b/gdb/remote.c index 0c2d7012dc1..18c8a05e9c8 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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. */