From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14359 invoked by alias); 6 May 2006 04:04:10 -0000 Received: (qmail 14348 invoked by uid 22791); 6 May 2006 04:04:07 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 06 May 2006 04:04:03 +0000 Received: from farnswood.snap.net.nz (p202-124-114-183.snap.net.nz [202.124.114.183]) by viper.snap.net.nz (Postfix) with ESMTP id 28F927578E2; Sat, 6 May 2006 16:04:01 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 500) id 4C8BA627ED; Sat, 6 May 2006 05:03:19 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17500.8198.679332.240864@farnswood.snap.net.nz> Date: Sat, 06 May 2006 04:04:00 -0000 To: Bob Rossi Cc: gdb@sources.redhat.com Subject: Re: asynchronous MI output commands In-Reply-To: <20060506031435.GE25114@brasko.net> References: <20060506012706.GA25114@brasko.net> <20060506015903.GA13095@nevyn.them.org> <20060506031435.GE25114@brasko.net> X-Mailer: VM 7.19 under Emacs 22.0.50.45 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/msg00046.txt.bz2 > ~"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? I think making the output asynchronous just determines how the front end can interact with GDB, not its content. -- Nick http://www.inet.net.nz/~nickrob