aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-26 18:14:39 -0700
committerTom Tromey <tom@tromey.com>2022-01-05 11:36:22 -0700
commita03743453101edf0badda39f25d30736d184973b (patch)
tree2680710926c816e05f41660cbabfbe6b591a2cc5 /gdb/windows-nat.c
parentec2770563a66ee861442f212b48523d71a624c0e (diff)
downloadfsf-binutils-gdb-a03743453101edf0badda39f25d30736d184973b.zip
fsf-binutils-gdb-a03743453101edf0badda39f25d30736d184973b.tar.gz
fsf-binutils-gdb-a03743453101edf0badda39f25d30736d184973b.tar.bz2
Use filtered output in files_info implementations
This changes the implementations of the target files_info method to use filtered output. This makes sense because the sole caller of this method is an ordinary command (info_program_command). This patch changes this command to use filtered output as well.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 7633254..03447e0 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2090,9 +2090,9 @@ windows_nat_target::files_info ()
{
struct inferior *inf = current_inferior ();
- printf_unfiltered ("\tUsing the running image of %s %s.\n",
- inf->attach_flag ? "attached" : "child",
- target_pid_to_str (inferior_ptid).c_str ());
+ printf_filtered ("\tUsing the running image of %s %s.\n",
+ inf->attach_flag ? "attached" : "child",
+ target_pid_to_str (inferior_ptid).c_str ());
}
/* Modify CreateProcess parameters for use of a new separate console.