From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26175 invoked by alias); 22 Nov 2005 12:20:32 -0000 Received: (qmail 26163 invoked by uid 22791); 22 Nov 2005 12:20:30 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Nov 2005 12:20:28 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1EeX8K-0001lY-Do for gdb@sources.redhat.com; Tue, 22 Nov 2005 15:20:25 +0300 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1EeX8K-0001lS-Be for gdb@sources.redhat.com; Tue, 22 Nov 2005 15:20:24 +0300 From: Vladimir Prus To: gdb@sources.redhat.com Subject: Re: MI: asynchronous operation details Date: Tue, 22 Nov 2005 12:20:00 -0000 User-Agent: KMail/1.7.2 References: <20051122121254.GB21117@white> In-Reply-To: <20051122121254.GB21117@white> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511221520.24163.ghost@cs.msu.su> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00474.txt.bz2 On Tuesday 22 November 2005 15:12, Bob Rossi wrote: > On Tue, Nov 22, 2005 at 11:30:04AM +0300, Vladimir Prus wrote: > > Hi, > > so, in MI mode if I emit "-exec-continue" gdb starts inferiour and > > immediately gives me back the prompt, accepting further commands. > > > > However, I can't: > > 1. Understand what commands can meaningfully be issued while the inferior > > is running. Say, all data read/write commands are likely to produce > > inconsistent results if inferior is running. > > 2. Practically figure out which commands can be issued at all. Say, both > > -data-evaluate-expression and -exec-continue just hang, returning > > nothing. This is with CVS HEAD. > > > > Do I understand correctly that asynchronous MI just don't exist in CVS > > HEAD, and only command prompt loop is asynchronous? Even if so, and fully > > asynchronous MI is coming, what's the answer to question (1) above? > > This is a feature that does not currently work. However, it's possible > that Nick Roberts work will address some of this lack of functionality. > If not, I'm sure in the future, either I (you) or someone else will > eventually get this working. Ok, but -- why do I ever want to issue commands while inferior is running? For which kind of commands is that useful? - Volodya