From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21986 invoked by alias); 25 Apr 2002 16:36:29 -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 21923 invoked from network); 25 Apr 2002 16:36:20 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 25 Apr 2002 16:36:20 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id SAA09429; Thu, 25 Apr 2002 18:36:17 +0200 Message-Id: <4.2.0.58.20020425183344.020b9a18@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr Date: Thu, 25 Apr 2002 09:36:00 -0000 To: Andrew Cagney From: Pierre Muller Subject: Re: [RFA/RFC] printf (stderr,... ->fprintf_unfiltered (gdb_stderr,... in remote*.c Cc: gdb-patches@sources.redhat.com In-Reply-To: <3CC825CF.4090805@cygnus.com> References: <4.2.0.58.20020424151836.01ee8d48@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2002-04/txt/msg01024.txt.bz2 At 17:50 25/04/2002 , Andrew Cagney a écrit: >>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. Can I commit the whole together then? Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99