aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-procfs.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/nto-procfs.c
parentec2770563a66ee861442f212b48523d71a624c0e (diff)
downloadgdb-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/nto-procfs.c')
-rw-r--r--gdb/nto-procfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index 7ae71d9..bf869df 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -656,10 +656,10 @@ nto_procfs_target::files_info ()
{
struct inferior *inf = current_inferior ();
- printf_unfiltered ("\tUsing the running image of %s %s via %s.\n",
- inf->attach_flag ? "attached" : "child",
- target_pid_to_str (inferior_ptid).c_str (),
- (nodestr != NULL) ? nodestr : "local node");
+ printf_filtered ("\tUsing the running image of %s %s via %s.\n",
+ inf->attach_flag ? "attached" : "child",
+ target_pid_to_str (inferior_ptid).c_str (),
+ (nodestr != NULL) ? nodestr : "local node");
}
/* Target to_pid_to_exec_file implementation. */