From 56c5b29b616e95749d0c99f936340897e14ab252 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Dec 2021 22:15:42 -0700 Subject: 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. --- gdb/avr-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/avr-tdep.c') 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; -- cgit v1.1