2002-04-24 Pierre Muller <ics.u-strasbg.fr>
* f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... with fprintf_unfiltered (gdb_stderr,....
This commit is contained in:
parent
25bf310635
commit
dac8068ed4
2 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue