public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Change how stdlog timestamps are written
@ 2021-12-31 20:18 Tom Tromey
  2021-12-31 20:18 ` [PATCH 1/4] Simplify the CLI set_logging logic Tom Tromey
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Tom Tromey @ 2021-12-31 20:18 UTC (permalink / raw)
  To: gdb-patches

I've been looking at the GDB ui_file and pager system to see if it can
be made more understandable -- right now it's fairly spaghetti-ish,
with ui_file calling into functions in util.c, that then dispatch back
to ui_file.  My vision for the endpoint is something along the lines
of Java's stream writers, where additional functionality is provided
by just instantiating some new writer to wrap an existing one.

This series is a step toward that long-term goal.  It changes how
gdb_stdlog timestamps are written, moving this into a new ui_file
subclass.  This avoids a special case (which may in some situations be
incorrect, see patch #4) in vfprintf_unfiltered.

Regression tested on x86-64 Fedora 34.

Let me know what you think.

Tom



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

end of thread, other threads:[~2022-03-28 20:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 20:18 [PATCH 0/4] Change how stdlog timestamps are written Tom Tromey
2021-12-31 20:18 ` [PATCH 1/4] Simplify the CLI set_logging logic Tom Tromey
2021-12-31 20:18 ` [PATCH 2/4] Use unique_ptr in CLI logging code Tom Tromey
2021-12-31 20:19 ` [PATCH 3/4] Add new timestamped_file class Tom Tromey
2021-12-31 20:19 ` [PATCH 4/4] Switch gdb_stdlog to use timestamped_file Tom Tromey
2022-03-24 16:21 ` [PATCH 0/4] Change how stdlog timestamps are written Tom Tromey
2022-03-28 20:12   ` 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).