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/target-descriptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/target-descriptions.c') diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 4c18775..d5e07fc 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -1858,7 +1858,7 @@ maint_print_xml_tdesc_cmd (const char *args, int from_tty) std::string buf; print_xml_feature v (&buf); tdesc->accept (v); - puts_filtered (buf.c_str ()); + gdb_puts (buf.c_str ()); } namespace selftests { -- cgit v1.1