From 19a7b8ab871b92dee32a0ebffe274388d3426564 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Jan 2022 11:13:35 -0700 Subject: 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. --- gdb/cli/cli-script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cli/cli-script.c') diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 55248de..67613aa 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -501,7 +501,7 @@ print_command_trace (const char *fmt, ...) va_list args; va_start (args, fmt); - vprintf_filtered (fmt, args); + gdb_vprintf (fmt, args); va_end (args); puts_filtered ("\n"); } -- cgit v1.1