public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Do not call reinitialize_more_filter from avr_io_reg_read_command
@ 2021-12-31 20:30 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2021-12-31 20:30 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-31 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 20:30 [pushed] Do not call reinitialize_more_filter from avr_io_reg_read_command Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).