From 57e12211870702c4cc13ba05e6a7182d885b18c9 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 26 Apr 2011 15:40:57 +0000 Subject: [PATCH] 2011-04-26 Michael Walle * remote.c (remote_start_remote): Ack packet after sending the interrupt sequence. --- gdb/ChangeLog | 5 +++++ gdb/remote.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6ce440781ca..6658e744569 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-26 Yao Qi * linux-nat.c: Move common macros to ... diff --git a/gdb/remote.c b/gdb/remote.c index fdb45734369..9a0eae0a857 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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. */ -- 2.30.2