From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27153 invoked by alias); 29 Jun 2008 00:08:13 -0000 Received: (qmail 27145 invoked by uid 22791); 29 Jun 2008 00:08:12 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 29 Jun 2008 00:07:44 +0000 Received: from kahikatea.snap.net.nz (42.60.255.123.dynamic.snap.net.nz [123.255.60.42]) by viper.snap.net.nz (Postfix) with ESMTP id C06073DA969; Sun, 29 Jun 2008 12:07:36 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 714478FC6D; Sun, 29 Jun 2008 12:07:33 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18534.53828.605142.257614@kahikatea.snap.net.nz> Date: Sun, 29 Jun 2008 02:40:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [MI/RFC] Emit ^running via observer. In-Reply-To: <200806281348.44175.vladimir@codesourcery.com> References: <200806140108.24047.vladimir@codesourcery.com> <200806280949.09304.vladimir@codesourcery.com> <18534.1805.519374.851454@kahikatea.snap.net.nz> <200806281348.44175.vladimir@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.2.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: 2008-06/txt/msg00567.txt.bz2 > I still don't understand what you mean by "decouples the output from the > input". GDB, both in sync and async mode is in perfect position to print > things as it sees fit. And MI notifications don't actually care about > 'current interpreter'. The *only* fundamental limitation of sync mode is > that no command will be processed when the target is running. Am I missing > something? I think we're saying similar things. You're saying that sync mode should be able to generate MI output from CLI commands like "run", "next" etc. I'm just saying that I don't know how to do it and it's probably quite messy. -- Nick http://www.inet.net.nz/~nickrob