From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6874 invoked by alias); 24 Apr 2002 13:12:24 -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 6821 invoked from network); 24 Apr 2002 13:12:15 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 24 Apr 2002 13:12:15 -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 PAA18690 for ; Wed, 24 Apr 2002 15:12:13 +0200 Message-Id: <4.2.0.58.20020424150026.01814db8@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr Date: Wed, 24 Apr 2002 06:12:00 -0000 To: gdb-patches@sources.redhat.com From: Pierre Muller Subject: [RFA] printf (stderr,... ->fprintf_unfiltered (gdb_stderr,... in f-lang.c Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2002-04/txt/msg00929.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. There is not fortran maintainer :( I will try to send other RFA soon. ChangeLog entry: 2002-04-24 Pierre Muller * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... with fprintf_unfiltered (gdb_stderr,.... Index: f-lang.c =================================================================== RCS file: /cvs/src/src/gdb/f-lang.c,v retrieving revision 1.9 diff -u -p -r1.9 f-lang.c --- f-lang.c 13 Feb 2002 18:49:30 -0000 1.9 +++ f-lang.c 24 Apr 2002 12:41:17 -0000 @@ -904,7 +904,7 @@ get_bf_for_fcn (long the_function) if (current_head_bf_list->symnum_fcn == the_function) { if (global_remote_debug) - fprintf (stderr, "*"); + fprintf_unfiltered (gdb_stderr, "*"); tmp = current_head_bf_list; current_head_bf_list = current_head_bf_list->next; @@ -916,7 +916,7 @@ get_bf_for_fcn (long the_function) the ugly linear scan */ if (global_remote_debug) - fprintf (stderr, "\ndefaulting to linear scan\n"); + fprintf_unfiltered (gdb_stderr, "\ndefaulting to linear scan\n"); nprobes = 0; tmp = saved_bf_list; @@ -926,7 +926,7 @@ get_bf_for_fcn (long the_function) if (tmp->symnum_fcn == the_function) { if (global_remote_debug) - fprintf (stderr, "Found in %d probes\n", nprobes); + fprintf_unfiltered (gdb_stderr, "Found in %d probes\n", nprobes); current_head_bf_list = tmp->next; return (tmp->symnum_bf); } 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