From e0037ba9121ca6cd45bc84205328a50fed23a432 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 31 Dec 2021 13:28:26 -0700 Subject: [PATCH] Do not call reinitialize_more_filter from avr_io_reg_read_command avr_io_reg_read_command is an ordinary gdb command, and so should not be calling reinitialize_more_filter. This patch removes it. I'm checking this in as obvious. Tested by rebuilding. --- gdb/avr-tdep.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index a97c4450acb..5a3a5e0e7a5 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1589,8 +1589,6 @@ avr_io_reg_read_command (const char *args, int from_tty) return; } - reinitialize_more_filter (); - printf_unfiltered (_("Target has %u io registers:\n\n"), nreg); /* only fetch up to 8 registers at a time to keep the buffer small */ -- 2.30.2