]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/utils.c
Unify vprintf functions
authorTom Tromey <tom@tromey.com>
Sun, 2 Jan 2022 18:13:35 +0000 (11:13 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 29 Mar 2022 18:46:24 +0000 (12:46 -0600)
commit19a7b8ab871b92dee32a0ebffe274388d3426564
treef020eb4af0b4587d3270ae8c62603bae39475715
parentf4bf8795b382327001cf467b855e5dcd6f30fe5d
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.
15 files changed:
gdb/cli/cli-cmds.c
gdb/cli/cli-script.c
gdb/complaints.c
gdb/debug.c
gdb/disasm.c
gdb/exceptions.c
gdb/language.c
gdb/mi/mi-out.c
gdb/parse.c
gdb/remote-sim.c
gdb/sol-thread.c
gdb/target-descriptions.c
gdb/ui-file.c
gdb/utils.c
gdb/utils.h