From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12557 invoked by alias); 7 Sep 2007 09:04:18 -0000 Received: (qmail 12549 invoked by uid 22791); 7 Sep 2007 09:04:17 -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; Fri, 07 Sep 2007 09:04:05 +0000 Received: from kahikatea.snap.net.nz (18.61.255.123.dynamic.snap.net.nz [123.255.61.18]) by viper.snap.net.nz (Postfix) with ESMTP id 21B7A3DA16C; Fri, 7 Sep 2007 21:04:02 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 407C08FC6D; Fri, 7 Sep 2007 21:03:58 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18145.5117.427647.382269@kahikatea.snap.net.nz> Date: Fri, 07 Sep 2007 09:15:00 -0000 To: Eli Zaretskii Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: MI: "^running" issues In-Reply-To: References: <200709041653.22357.ghost@cs.msu.su> <200709061046.21723.ghost@cs.msu.su> <200709062334.42089.ghost@cs.msu.su> X-Mailer: VM 7.19 under Emacs 23.0.50.4 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00070.txt.bz2 > > The code related to that bug has something to do with async mode, > > but it's pretty unclear why it should be, and how would I test > > that my fixes don't break that async mode. > > Well, Nick is trying to improve on the async code, perhaps he could > help understand the offending code and find the right fix for the > problem you found. I've run Vladimir's example under GDB with my async patch and it also printed a ^running record and no *stopped, so perhaps ^running should indeed be printed later. However, the best way to get the right asynchronous MI output is probably to develop this code. I could create another branch for it but I suspect that it wouldn't get looked at. I would like to commit it to mainline after the release but Daniel doesn't like this idea as some changes are copied verbatim from Apple. However, I've tried to confine these changes to the "--async" option so that usual (synchronous) operation is unchanged. -- Nick http://www.inet.net.nz/~nickrob