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.
This commit is contained in:
Tom Tromey 2021-12-31 13:28:26 -07:00
parent a321de3f5c
commit e0037ba912

View file

@ -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 */