From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29864 invoked by alias); 25 Apr 2002 15:50:40 -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 29856 invoked from network); 25 Apr 2002 15:50:39 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Apr 2002 15:50:39 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2E5B83D37; Thu, 25 Apr 2002 11:50:39 -0400 (EDT) Message-ID: <3CC825CF.4090805@cygnus.com> Date: Thu, 25 Apr 2002 08:50:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020424 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pierre Muller Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] printf (stderr,... ->fprintf_unfiltered (gdb_stderr,... in remote*.c References: <4.2.0.58.20020424151836.01ee8d48@ics.u-strasbg.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01018.txt.bz2 > This is one of the files that I listed in > http://sources.redhat.com/ml/gdb/2002-02/msg00212.html > as still having direct uses of stderr. > > I don't even know if this is correct, > because I don't know if the gdb_std??? > should be used in these files. It should be used everywhere, so yes it is fine. > remote-array.c seems to also use gdb_stdout > so that one should be correct. Yes. (Eventually GDB needs to audit all its error/output messages and decide which should go where. That, however, is a separate problem. Probably something to do if/when i18n occures.) > remote-es.c has no other reference to gdb_std??? > variables, so here it could well be an error to do that change. > > Idem for remote-os9k.c and remote-st.c. These can also also be changed. gdb_stderr is defined in defs.h, so it is visible. good one, Andrew