diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-26 18:14:39 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-05 11:36:22 -0700 |
commit | a03743453101edf0badda39f25d30736d184973b (patch) | |
tree | 2680710926c816e05f41660cbabfbe6b591a2cc5 /gdb/windows-nat.c | |
parent | ec2770563a66ee861442f212b48523d71a624c0e (diff) | |
download | gdb-a03743453101edf0badda39f25d30736d184973b.zip gdb-a03743453101edf0badda39f25d30736d184973b.tar.gz 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.c | 6 |
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. |