From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7004 invoked by alias); 6 May 2006 16:52:54 -0000 Received: (qmail 6995 invoked by uid 22791); 6 May 2006 16:52:53 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 06 May 2006 16:52:52 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FcQ1R-0006lx-P4 for gdb@sourceware.org; Sat, 06 May 2006 12:52:49 -0400 Date: Sat, 06 May 2006 20:37:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: asynchronous MI output commands Message-ID: <20060506165249.GA25972@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org References: <20060506012706.GA25114@brasko.net> <20060506015903.GA13095@nevyn.them.org> <20060506031435.GE25114@brasko.net> <17500.8198.679332.240864@farnswood.snap.net.nz> <20060506040637.GA14894@nevyn.them.org> <20060506114933.GF25114@brasko.net> <20060506152046.GA24267@nevyn.them.org> <20060506164030.GK25114@brasko.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060506164030.GK25114@brasko.net> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes 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: 2006-05/txt/msg00058.txt.bz2 On Sat, May 06, 2006 at 12:40:31PM -0400, Bob Rossi wrote: > Each of the lines beggining with ~ are an > out-of-band-record => stream-record. > There is no out-of-band-record => async-record. > > Certainly having an out-of-band-record => stream-record does not make an > MI output command asynchronous. Or does it? `OUTPUT ==>' `( OUT-OF-BAND-RECORD )* [ RESULT-RECORD ] "(gdb)" NL' It's an OOB record, followed by a prompt. It's not the direct output of any command. > The code I wrote to determine if an MI output command is asynchronous > checks to see if there is an out-of-band-record=>async-record in the > parse tree. If there is, the command is asynchronous, otherwise it's > not. Do you disagree with this? "MI output command" doesn't mean anything to me. It's an MI output record, and it isn't in response to a command. I still don't understand the question - the point of categorizing messages in this way. -- Daniel Jacobowitz CodeSourcery