From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18965 invoked by alias); 6 May 2006 11:50:00 -0000 Received: (qmail 18950 invoked by uid 22791); 6 May 2006 11:49:59 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao04.cox.net (HELO eastrmmtao04.cox.net) (68.230.240.35) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 06 May 2006 11:49:58 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao04.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060506114956.FCZA9931.eastrmmtao04.cox.net@localhost.localdomain>; Sat, 6 May 2006 07:49:56 -0400 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1FcLIq-0005vw-44; Sat, 06 May 2006 07:50:28 -0400 Date: Sat, 06 May 2006 11:51:00 -0000 From: Bob Rossi To: Nick Roberts Cc: gdb@sources.redhat.com Subject: Re: asynchronous MI output commands Message-ID: <20060506115028.GG25114@brasko.net> Mail-Followup-To: Nick Roberts , gdb@sources.redhat.com References: <20060506012706.GA25114@brasko.net> <20060506015903.GA13095@nevyn.them.org> <20060506031435.GE25114@brasko.net> <17500.8198.679332.240864@farnswood.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17500.8198.679332.240864@farnswood.snap.net.nz> User-Agent: Mutt/1.5.9i 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/msg00051.txt.bz2 On Sat, May 06, 2006 at 04:03:18PM +1200, Nick Roberts wrote: > > ~"GNU gdb 6.1-debian\n" > > ~"Copyright 2004 Free Software Foundation, Inc.\n" > > ~"GDB is free software, covered by the GNU General Public License, and you are\n" > > ~"welcome to change it and/or distribute copies of it under certain conditions.\n" > > ~"Type \"show copying\" to see the conditions.\n" > > ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n" > > ~"This GDB was configured as \"i386-linux\"..." > > ~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n" > > ~"\n" > > (gdb) > > > > Is this considered synchronous or asynchronous? I consider it > > asynchronous, and I don't have any way to tell that except check to see > > if the parse tree has nothing but stream messages. What do you think? > > Can't you just consider it as output? What would your parser do differently > if it was classed as one or other? It would do nothing differently. However, this is an asynchronous command that appears to be synchronous. I think it's a bug in GDB. I could be wrong. Bob Rossi