From b58f47ab4cae11166f210f54bca6e7c58b855a0f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Dec 2021 22:31:53 -0700 Subject: Use filtered output in ordinary commands Many otherwise ordinary commands choose to use unfiltered output rather than filtered. I don't think there's any reason for this, so this changes many such commands to use filtered output instead. Note that complete_command is not touched due to a comment there explaining why unfiltered output is believed to be used. --- gdb/cp-namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cp-namespace.c') diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index c5d58d2..e617671 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -1058,7 +1058,7 @@ cp_lookup_transparent_type_loop (const char *name, static void maintenance_cplus_namespace (const char *args, int from_tty) { - printf_unfiltered (_("The `maint namespace' command was removed.\n")); + printf_filtered (_("The `maint namespace' command was removed.\n")); } void _initialize_cp_namespace (); -- cgit v1.1