From 6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Jan 2022 11:46:15 -0700 Subject: Unify gdb printf functions Now that filtered and unfiltered output can be treated identically, we can unify the printf family of functions. This is done under the name "gdb_printf". Most of this patch was written by script. --- gdb/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/annotate.c') diff --git a/gdb/annotate.c b/gdb/annotate.c index 8d6f58c..c16eb46 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -293,7 +293,7 @@ void annotate_error_begin (void) { if (annotation_level > 1) - fprintf_unfiltered (gdb_stderr, "\n\032\032error-begin\n"); + gdb_printf (gdb_stderr, "\n\032\032error-begin\n"); } void -- cgit v1.1