From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23550 invoked by alias); 22 Jul 2002 18:12:16 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 23534 invoked from network); 22 Jul 2002 18:12:14 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 22 Jul 2002 18:12:14 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 43FDE3CEB; Mon, 22 Jul 2002 14:12:15 -0400 (EDT) Message-ID: <3D3C4AFF.2090003@ges.redhat.com> Date: Mon, 22 Jul 2002 11:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020708 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, insight@sources.redhat.com Subject: Re: RFA: Make cli-out follow gdb_stdout References: <20020717183012.GA9788@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q3/txt/msg00027.txt.bz2 FYI, This: > struct ui_out_data > { > - struct ui_file *stream; > + struct ui_file **stream; > int suppress_output; > }; and this: > - uiout = cli_out_new (gdb_stdout); > + uiout = cli_out_new (&gdb_stdout); worry me. The intent is to eventually have everything using a parameterized output object - if you want to change where output goes, change the parameter. Given that, having stuff depend on an indirect global pointer looks to be going in the wrong direction. I'll need to look over the problems that Pierre was trying to solve. Andrew