[binutils-gdb] Do not call reinitialize_more_filter from avr_io_reg_read_command
Tom Tromey
tromey@sourceware.org
Fri Dec 31 20:30:15 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e0037ba9121ca6cd45bc84205328a50fed23a432
commit e0037ba9121ca6cd45bc84205328a50fed23a432
Author: Tom Tromey <tom@tromey.com>
Date: Fri Dec 31 13:28:26 2021 -0700
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:
---
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 */
More information about the Gdb-cvs
mailing list