From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10727 invoked by alias); 18 Aug 2005 21:19:28 -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 10711 invoked by uid 22791); 18 Aug 2005 21:19:24 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 18 Aug 2005 21:19:24 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j7ILJHnK008796; Thu, 18 Aug 2005 23:19:17 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j7ILJHLO022280; Thu, 18 Aug 2005 23:19:17 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j7ILJBqX024378; Thu, 18 Aug 2005 23:19:11 +0200 (CEST) Date: Fri, 19 Aug 2005 00:52:00 -0000 Message-Id: <200508182119.j7ILJBqX024378@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: nickrob@snap.net.nz CC: gdb-patches@sources.redhat.com In-reply-to: <17155.50463.475238.328408@farnswood.snap.net.nz> (message from Nick Roberts on Thu, 18 Aug 2005 11:15:43 +1200) Subject: Re: RFC: MI output during program execution References: <17155.50463.475238.328408@farnswood.snap.net.nz> X-SW-Source: 2005-08/txt/msg00209.txt.bz2 > From: Nick Roberts > Date: Thu, 18 Aug 2005 11:15:43 +1200 > > I've updated my previous patch to use > mi_insert/mi_remove_notify_hooks instead of the condition (strcmp > (interpreter_p, "mi") == 0). This mechanism could be used more > pervasively with ui_out_is_mi_like_p to give furher MI output e.g > reason for stopping. It could also be used for any event > notification that is developed for MI. It might not work with true > asynchronous behaviour but in that case the existing suppression of > queries using mi_interp_query_hook must also fail. If it is decided that this is the way to go, I think you should try to push all of the code into MI files and just export a single function that gets called by the code in infrun.c. Mark