From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27234 invoked by alias); 29 Apr 2008 19:11:54 -0000 Received: (qmail 27220 invoked by uid 22791); 29 Apr 2008 19:11:53 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Apr 2008 19:11:30 +0000 Received: (qmail 26626 invoked from network); 29 Apr 2008 19:11:28 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 29 Apr 2008 19:11:28 -0000 From: Pedro Alves To: "Marc Khouzam" Subject: Re: MI non-stop interface details Date: Wed, 30 Apr 2008 17:21:00 -0000 User-Agent: KMail/1.9.9 Cc: "Vladimir Prus" , gdb@sourceware.org, "Pawel Piech" References: <6D19CA8D71C89C43A057926FE0D4ADAA042910AB@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA042910AB@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804292011.28487.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00256.txt.bz2 A Tuesday 29 April 2008 19:56:15, Marc Khouzam wrote: > For curiosity, what will happen to GDB's 'current thread' if that > thread is continued, i.e., what if we have -exec-continue on a single > thread as suggested above, and we issue two -exec-continue in a row? > This isn't stricly related to the current thread. What happens if the frontend emits two '-exec-continue --thread="1"' ? GDB will currently error out if a command tries to resume a running thread. Currently: error ("Thread is already running"); Ignoring would also be a valid behaviour, I guess, although an error condition is easier to define. -- Pedro Alves