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/remote-sim.c | |
parent | ec2770563a66ee861442f212b48523d71a624c0e (diff) | |
download | fsf-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/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 7a029c9..3637fdb 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -1114,8 +1114,8 @@ gdbsim_target::files_info () if (current_program_space->exec_bfd ()) { - fprintf_unfiltered (gdb_stdlog, "\tAttached to %s running program %s\n", - target_shortname (), file); + printf_filtered ("\tAttached to %s running program %s\n", + target_shortname (), file); sim_info (sim_data->gdbsim_desc, 0); } } |