diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-24 22:15:42 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-05 11:36:33 -0700 |
commit | 56c5b29b616e95749d0c99f936340897e14ab252 (patch) | |
tree | e6111e339eb0fa728668d3e9447a88d6b7385815 /gdb/s12z-tdep.c | |
parent | 7f762abff6e7b2e48c1f4a1d0a087ce4eb5677a7 (diff) | |
download | gdb-56c5b29b616e95749d0c99f936340897e14ab252.zip gdb-56c5b29b616e95749d0c99f936340897e14ab252.tar.gz gdb-56c5b29b616e95749d0c99f936340897e14ab252.tar.bz2 |
Use filtered output in *-tdep commands
Various targets introduce their own commands, which then use
unfiltered output. It's better to use filtered output by default, so
this patch fixes the instances I found.
Diffstat (limited to 'gdb/s12z-tdep.c')
-rw-r--r-- | gdb/s12z-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s12z-tdep.c b/gdb/s12z-tdep.c index 24ebc6a..3f9740f 100644 --- a/gdb/s12z-tdep.c +++ b/gdb/s12z-tdep.c @@ -635,7 +635,7 @@ show_bdccsr_command (const char *args, int from_tty) struct string_file output; target_rcmd ("bdccsr", &output); - printf_unfiltered ("The current BDCCSR value is %s\n", output.string().c_str()); + printf_filtered ("The current BDCCSR value is %s\n", output.string().c_str()); } static struct gdbarch * |