From dac8068ed4cf7ef7f004f5cfd6d8032413c51736 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 25 Apr 2002 16:33:11 +0000 Subject: [PATCH] 2002-04-24 Pierre Muller * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... with fprintf_unfiltered (gdb_stderr,.... --- gdb/ChangeLog | 5 +++++ gdb/f-lang.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a005eac..24964a9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-04-24 Pierre Muller + + * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... + with fprintf_unfiltered (gdb_stderr,.... + 2002-04-25 Pierre Muller Fix PR gdb/508. diff --git a/gdb/f-lang.c b/gdb/f-lang.c index 1727bda..85866b3 100644 --- a/gdb/f-lang.c +++ b/gdb/f-lang.c @@ -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); } -- 2.7.4