From: Tom Tromey Date: Fri, 31 Dec 2021 20:28:26 +0000 (-0700) Subject: Do not call reinitialize_more_filter from avr_io_reg_read_command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0037ba9121ca6cd45bc84205328a50fed23a432;p=binutils-gdb.git 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. --- 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 */