forked from Imagelibrary/binutils-gdb
Unify vprintf functions
Now that filtered and unfiltered output can be treated identically, we can unify the vprintf family of functions: vprintf_filtered, vprintf_unfiltered, vfprintf_filtered and vfprintf_unfiltered. (For the gdb_stdout variants, recall that only printf_unfiltered gets truly unfiltered output at this point.) This removes one such function and renames the remaining two to "gdb_vprintf". All callers are updated. Much of this patch was written by script.
This commit is contained in:
@@ -414,7 +414,7 @@ range_error (const char *string,...)
|
||||
case range_check_off:
|
||||
/* FIXME: cagney/2002-01-30: Should this function print anything
|
||||
when range error is off? */
|
||||
vfprintf_filtered (gdb_stderr, string, args);
|
||||
gdb_vprintf (gdb_stderr, string, args);
|
||||
fprintf_filtered (gdb_stderr, "\n");
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user