From 0426ad513f93bb1c5805988e60d6f87fbe738860 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 2 Jan 2022 11:36:44 -0700 Subject: Unify gdb puts functions Now that filtered and unfiltered output can be treated identically, we can unify the puts family of functions. This is done under the name "gdb_puts". Most of this patch was written by script. --- gdb/compile/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/compile/compile.c') diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 5ab4e48..42df80e 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -647,7 +647,7 @@ get_args (const compile_instance *compiler, struct gdbarch *gdbarch) static void print_callback (void *ignore, const char *message) { - fputs_filtered (message, gdb_stderr); + gdb_puts (message, gdb_stderr); } /* Process the compilation request. On success it returns the object -- cgit v1.1