aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-24 22:15:42 -0700
committerTom Tromey <tom@tromey.com>2022-01-05 11:36:33 -0700
commit56c5b29b616e95749d0c99f936340897e14ab252 (patch)
treee6111e339eb0fa728668d3e9447a88d6b7385815 /gdb/i386-tdep.c
parent7f762abff6e7b2e48c1f4a1d0a087ce4eb5677a7 (diff)
downloadfsf-binutils-gdb-56c5b29b616e95749d0c99f936340897e14ab252.zip
fsf-binutils-gdb-56c5b29b616e95749d0c99f936340897e14ab252.tar.gz
fsf-binutils-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/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 6d8a43f..aaa5592 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -8992,14 +8992,14 @@ i386_mpx_info_bounds (const char *args, int from_tty)
if (gdbarch_bfd_arch_info (gdbarch)->arch != bfd_arch_i386
|| !i386_mpx_enabled ())
{
- printf_unfiltered (_("Intel Memory Protection Extensions not "
- "supported on this target.\n"));
+ printf_filtered (_("Intel Memory Protection Extensions not "
+ "supported on this target.\n"));
return;
}
if (args == NULL)
{
- printf_unfiltered (_("Address of pointer variable expected.\n"));
+ printf_filtered (_("Address of pointer variable expected.\n"));
return;
}