From 56c5b29b616e95749d0c99f936340897e14ab252 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Dec 2021 22:15:42 -0700 Subject: Use filtered output in *-tdep commands Various targets introduce their own commands, which then use unfiltered output. It's better to use filtered output by default, so this patch fixes the instances I found. --- gdb/mips-tdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/mips-tdep.c') diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 7f80183..e5f8c6b 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -6916,7 +6916,7 @@ show_mipsfpu_command (const char *args, int from_tty) if (gdbarch_bfd_arch_info (target_gdbarch ())->arch != bfd_arch_mips) { - printf_unfiltered + printf_filtered ("The MIPS floating-point coprocessor is unknown " "because the current architecture is not MIPS.\n"); return; @@ -6937,11 +6937,11 @@ show_mipsfpu_command (const char *args, int from_tty) internal_error (__FILE__, __LINE__, _("bad switch")); } if (mips_fpu_type_auto) - printf_unfiltered ("The MIPS floating-point coprocessor " + printf_filtered ("The MIPS floating-point coprocessor " "is set automatically (currently %s)\n", fpu); else - printf_unfiltered + printf_filtered ("The MIPS floating-point coprocessor is assumed to be %s\n", fpu); } -- cgit v1.1