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/avr-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/avr-tdep.c')
-rw-r--r-- | gdb/avr-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index 9ead25d..7f79ef9 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1589,7 +1589,7 @@ avr_io_reg_read_command (const char *args, int from_tty) return; } - printf_unfiltered (_("Target has %u io registers:\n\n"), nreg); + printf_filtered (_("Target has %u io registers:\n\n"), nreg); /* only fetch up to 8 registers at a time to keep the buffer small */ int step = 8; |