public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/12] More filtered output cleanups
@ 2022-01-01 17:55 Tom Tromey
  2022-01-01 17:55 ` [PATCH 01/12] Use filtered output for gdbarch dump Tom Tromey
                   ` (12 more replies)
  0 siblings, 13 replies; 26+ messages in thread
From: Tom Tromey @ 2022-01-01 17:55 UTC (permalink / raw)
  To: gdb-patches

I found a number of places that use unfiltered output, but that
probably ought to use filtered output.  This patch fixes nearly all of
them (I'll send the remaining patches separately).

The default for user commands should always be to use filtered output.
This way, users will get the correct paging behavior.  And, because
the filter only applies to gdb_stdout anyway, it's safest to use the
_filtered forms in most places.

In the longer run, I think it would be best to reimplement the pager
directly in the gdb_stdout ui_file.  That way, almost no code will
need to make the filtered/unfiltered distinction -- it will be done by
choice of stream.  I'm working on some patches toward this goal.  This
series is a useful step toward that, and IMO desirable on its own as
well.

Regression tested on x86-64 Fedora 34.

Tom



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-01-10 14:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 17:55 [PATCH 00/12] More filtered output cleanups Tom Tromey
2022-01-01 17:55 ` [PATCH 01/12] Use filtered output for gdbarch dump Tom Tromey
2022-01-01 17:55 ` [PATCH 02/12] Use filtered output in target-descriptions.c Tom Tromey
2022-01-01 17:55 ` [PATCH 03/12] Use filtered output in files_info implementations Tom Tromey
2022-01-05 11:48   ` Andrew Burgess
2022-01-05 18:28     ` Tom Tromey
2022-01-01 17:55 ` [PATCH 04/12] Use filtered output in language_info Tom Tromey
2022-01-01 17:55 ` [PATCH 05/12] Use filtered output in ordinary commands Tom Tromey
2022-01-05 11:52   ` Andrew Burgess
2022-01-05 18:35     ` Tom Tromey
2022-01-01 17:55 ` [PATCH 06/12] Use filtered output in kill command Tom Tromey
2022-01-01 17:55 ` [PATCH 07/12] Use filtered output in some dumping commands Tom Tromey
2022-01-01 17:55 ` [PATCH 08/12] Use filtered output in btrace-related commands Tom Tromey
2022-01-10 11:56   ` Metzger, Markus T
2022-01-10 14:44     ` Tom Tromey
2022-01-01 17:55 ` [PATCH 09/12] Use filtered output in *-tdep commands Tom Tromey
2022-01-01 17:55 ` [PATCH 10/12] Use filtered output in gnu-nat.c commands Tom Tromey
2022-01-05 11:57   ` Andrew Burgess
2022-01-05 18:37     ` Tom Tromey
2022-01-06 10:07       ` Andrew Burgess
2022-01-06 13:06         ` Andrew Burgess
2022-01-06 15:29         ` Tom Tromey
2022-01-01 17:55 ` [PATCH 11/12] Use filtered output in terminal_info implementations Tom Tromey
2022-01-01 17:55 ` [PATCH 12/12] Filtered output cleanup in expression dumping Tom Tromey
2022-01-05 11:59 ` [PATCH 00/12] More filtered output cleanups Andrew Burgess
2022-01-05 18:38   ` 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).