From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11449 invoked by alias); 15 Jul 2014 15:52:42 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 11423 invoked by uid 48); 15 Jul 2014 15:52:41 -0000 From: "xdje42 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug server/17147] with gdbserver + all-stop + async, can't quit gdb because target is running Date: Tue, 15 Jul 2014 15:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xdje42 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00094.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17147 --- Comment #4 from Doug Evans --- One thought would be to print a message either with commands that resume the inferior in the background, or with the "Cannot execute this command while the target is running." error message. E.g. Cannot execute this command while the target is running. Use the "interrupt" command to stop the target. or perhaps a teensy bit better, Cannot execute this command while the target is running. Use the "interrupt" command to stop the target and then try again. [side note: why does "interrupt -a" have to be an error in all-stop mode? Instead just treat "interrupt -a" == "interrupt". Filed bug 17160.] -- You are receiving this mail because: You are on the CC list for the bug.