[PATCH 04/12] Use filtered output in language_info
Tom Tromey
tom@tromey.com
Sat Jan 1 17:55:12 GMT 2022
Change language_info to use filtered output. This is ok because the
sole caller uses filtered output elsewhere, and because this function
calls show_language_command, which also uses filtered output.
---
gdb/language.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/language.c b/gdb/language.c
index 132ff769817..0e6a1a4bcdb 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -383,7 +383,7 @@ language_info ()
return;
expected_language = current_language;
- printf_unfiltered (_("Current language: %s\n"), language);
+ printf_filtered (_("Current language: %s\n"), language);
show_language_command (NULL, 1, NULL, NULL);
}
--
2.31.1
More information about the Gdb-patches
mailing list