diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-24 22:15:42 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-05 11:36:33 -0700 |
commit | 56c5b29b616e95749d0c99f936340897e14ab252 (patch) | |
tree | e6111e339eb0fa728668d3e9447a88d6b7385815 /gdb/mips-tdep.c | |
parent | 7f762abff6e7b2e48c1f4a1d0a087ce4eb5677a7 (diff) | |
download | gdb-56c5b29b616e95749d0c99f936340897e14ab252.zip gdb-56c5b29b616e95749d0c99f936340897e14ab252.tar.gz gdb-56c5b29b616e95749d0c99f936340897e14ab252.tar.bz2 |
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.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |