aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-26 18:33:12 -0700
committerTom Tromey <tom@tromey.com>2022-01-05 11:36:33 -0700
commit50f5d5c34d321275c4e59b2f098023f674c617d8 (patch)
tree0abbeec8343365293f2c96d345924b700ac2ec72 /gdb/target.c
parentd487ae28cee404c84a669bafd727e47e9407e8ba (diff)
downloadgdb-50f5d5c34d321275c4e59b2f098023f674c617d8.zip
gdb-50f5d5c34d321275c4e59b2f098023f674c617d8.tar.gz
gdb-50f5d5c34d321275c4e59b2f098023f674c617d8.tar.bz2
Use filtered output in terminal_info implementations
This changes one terminal_info implementation, and default_terminal_info, to use filtered output. Other implementations of this method already use filtered output. I can't compile go32-nat.c, so this is a 'best effort' patch.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c
index b3b1bbd..1a07229 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1127,7 +1127,7 @@ noprocess (void)
static void
default_terminal_info (struct target_ops *self, const char *args, int from_tty)
{
- printf_unfiltered (_("No saved terminal information.\n"));
+ printf_filtered (_("No saved terminal information.\n"));
}
/* A default implementation for the to_get_ada_task_ptid target method.