]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/utils.c
Use gdbfmt for vprintf_filtered.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 31 Aug 2021 00:23:15 +0000 (17:23 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 31 Aug 2021 00:23:15 +0000 (17:23 -0700)
commitad15549d514afa0602a0c0fca4b3bbf545a3c994
tree0743aee9db84751ed5b7c4d072561cf3459d38b5
parentc0e5bb42c6e787351e5bd3718457c83e2ec983e9
Use gdbfmt for vprintf_filtered.

gdbfmt was already used for printf_filtered, so using it for
vprintf_filtered is more consistent.

As a result, all callers of vfprintf_maybe_filtered now use gdbfmt, so
the function can be simplified to assume the gdbfmt case and remove
the associated bool argument.  Similary, vprintf_filtered is now a
simple wrapper around vfprintf_filtered.
gdb/utils.c