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:
parent
f4bf8795b3
commit
19a7b8ab87
15 changed files with 30 additions and 72 deletions
|
@ -30,5 +30,5 @@ int debug_print_depth = 0;
|
|||
void
|
||||
debug_vprintf (const char *fmt, va_list ap)
|
||||
{
|
||||
vfprintf_unfiltered (gdb_stdlog, fmt, ap);
|
||||
gdb_vprintf (gdb_stdlog, fmt, ap);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue