summaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:13:35 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commit19a7b8ab871b92dee32a0ebffe274388d3426564 (patch)
treef020eb4af0b4587d3270ae8c62603bae39475715 /gdb/complaints.c
parentf4bf8795b382327001cf467b855e5dcd6f30fe5d (diff)
downloadbinutils-gdb-19a7b8ab871b92dee32a0ebffe274388d3426564.tar.gz
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.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 2c2d90a39d2..b582bf38f11 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -51,7 +51,7 @@ complaint_internal (const char *fmt, ...)
else
{
fputs_filtered (_("During symbol reading: "), gdb_stderr);
- vfprintf_filtered (gdb_stderr, fmt, args);
+ gdb_vprintf (gdb_stderr, fmt, args);
fputs_filtered ("\n", gdb_stderr);
}