From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10620 invoked by alias); 1 Dec 2005 14:06:11 -0000 Received: (qmail 10536 invoked by uid 22791); 1 Dec 2005 14:06:09 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao02.cox.net (HELO eastrmmtao02.cox.net) (68.230.240.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 Dec 2005 14:06:03 +0000 Received: from white ([68.9.65.164]) by eastrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051201140340.GLFP8508.eastrmmtao02.cox.net@white>; Thu, 1 Dec 2005 09:03:40 -0500 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1Ehp36-0008Hy-00; Thu, 01 Dec 2005 09:04:36 -0500 Date: Thu, 01 Dec 2005 14:06:00 -0000 From: Bob Rossi To: Denis PILAT Cc: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Target stderr not displayed thru MI Message-ID: <20051201140436.GA31759@white> Mail-Followup-To: Denis PILAT , Nick Roberts , gdb-patches@sources.redhat.com References: <17293.36697.854192.691800@kahikatea.snap.net.nz> <438DA1DE.2020406@st.com> <17294.2894.345752.773239@kahikatea.snap.net.nz> <438F011F.7050403@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <438F011F.7050403@st.com> User-Agent: Mutt/1.5.9i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00012.txt.bz2 > I attach a new patch in that sense. It does not include the documentation > patch about MI new stream but it's just to give you an idea. > Any comment ? > + /* MI 1 and 2 target error stream use the same steam prefix "@" in oder > + to ensure backward compatibility with old frondtend, MI 3 uses > + a new prefix "#" */ > + if (mi_version (uiout) > 2) > + mi->targerr = mi_console_file_new (raw_stdout, "#", '"'); > + else > + mi->targerr = mi_console_file_new (raw_stdout, "@", '"'); > + > mi->event_channel = mi_console_file_new (raw_stdout, "=", 0); We have a lot of people that are confused about the target-stream-output and it was recently brought up that maybe this wasn't used and should be removed. http://sources.redhat.com/ml/gdb/2005-11/msg00391.html However, you seem to be using it, and want to add another stream-output, probably called something like target-stream-stderr-output. I haven't seen MI use the target-stream-output yet. What is your configuration that makes this happen? Is it still useful to you? If so, it would be nice if we could improve the doco a bit, to let users know when this would be useful for them. Thanks, Bob Rossi