summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-31 13:28:26 -0700
committerTom Tromey <tom@tromey.com>2021-12-31 13:29:46 -0700
commite0037ba9121ca6cd45bc84205328a50fed23a432 (patch)
tree0ab93abb9c495dd92cb6a726f50af1d8e12252c9
parenta321de3f5c526617705f96d25cd1f9b0cbe7dbda (diff)
downloadbinutils-gdb-e0037ba9121ca6cd45bc84205328a50fed23a432.tar.gz
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.
-rw-r--r--gdb/avr-tdep.c2
1 files changed, 0 insertions, 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 */