From: Tom Tromey Date: Mon, 27 Dec 2021 01:17:55 +0000 (-0700) Subject: Use filtered output in language_info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b68178b9cbbef2aa4e234db4313ac8ba6d1dc04c;p=binutils-gdb.git Use filtered output in language_info 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. --- 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); }