From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6773 invoked by alias); 9 Aug 2005 17:52:09 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6766 invoked by uid 22791); 9 Aug 2005 17:52:06 -0000 Received: from eastrmmtao05.cox.net (HELO eastrmmtao05.cox.net) (68.230.240.34) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 09 Aug 2005 17:52:06 +0000 Received: from white ([68.9.64.121]) by eastrmmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050809175200.ZKP2947.eastrmmtao05.cox.net@white>; Tue, 9 Aug 2005 13:52:00 -0400 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1E2YGd-0000nc-00; Tue, 09 Aug 2005 13:51:59 -0400 Date: Tue, 09 Aug 2005 17:59:00 -0000 From: Bob Rossi To: Jim Ingham Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: MI output during program execution Message-ID: <20050809175159.GA3012@white> Mail-Followup-To: Jim Ingham , gdb-patches@sources.redhat.com References: <1123605445.30442.ezmlm@sources.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-SW-Source: 2005-08/txt/msg00100.txt.bz2 > But as I said in my previous note, I think a better solution is to > use hooks/observers/events or whatever to allow the MI to be informed > about things it needs to know about "behind the back" of the CLI > that's running the command. Could you please give a quick example of something "the FE needs to know about?" Would there be a default way to get all the things the FE cares about? Is it as easy as making a new MI command -mi-get-state which would output a list of items the FE cares about? Thanks, Bob Rossi