From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26932 invoked by alias); 17 Jun 2007 09:28:32 -0000 Received: (qmail 26919 invoked by uid 22791); 17 Jun 2007 09:28:32 -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; Sun, 17 Jun 2007 09:28:28 +0000 Received: from kahikatea.snap.net.nz (107.60.255.123.dynamic.snap.net.nz [123.255.60.107]) by viper.snap.net.nz (Postfix) with ESMTP id 445013D9D4B; Sun, 17 Jun 2007 21:28:24 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 2E17F8FBF6; Sun, 17 Jun 2007 21:28:18 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18036.65200.916738.36790@kahikatea.snap.net.nz> Date: Sun, 17 Jun 2007 09:28:00 -0000 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: async patch (no. 4) In-Reply-To: <20070112230333.GA7039@nevyn.them.org> References: <17720.29835.230422.776965@kahikatea.snap.net.nz> <20070112183120.GB30005@nevyn.them.org> <17832.2690.298735.867020@kahikatea.snap.net.nz> <20070112230333.GA7039@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.1.50.3 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00315.txt.bz2 Daniel Jacobowitz writes (Fri, 12 Jan 2007 18:03:33 -0500): > > You're not looking at the last patch, which is smaller, that I sent: > > > > Re: [PATCH] PR mi/2077 "set edit off" breaks MI" > > (Tue, 21 Nov 2006 11:20:41 +1300) This attachment is called async5.diff.gz. > Whoops! Thanks. Well, let this be a reminder to both of us to put > things in their own threads :-) I'll look at that one instead. I > thought the other one was newer. I'm not sure if this was the last message in the thread but I'd like to see if we can get something committed after GDB 6.7 goes out. As you probably know the GDB mode in Emacs 22.1 uses annotations with some MI through the "interpreter" command, e.g, variable objects. Now I want to try to migrate Emacs to fully use MI, and have some code that I plan to commit shortly to the Emacs CVS repository. I think this really needs GDB to work asynchronously. With the patch that I posted, when GDB is invoked normally behaviour shouldn't change. To work asynchronously, it needs to be invoked with the "--async" option. In this way, I hope to insulate others from any problems that it may have. I realise that you're probably very busy, but there's no immediate hurry, and to save time perhaps you could just check that synchronous behaviour is indeed unaffected. I can posted an updated patch if needed. -- Nick http://www.inet.net.nz/~nickrob