public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] More introspection for Value.format_string
@ 2022-06-07 15:42 Tom Tromey
  2022-06-07 15:42 ` [PATCH 1/2] Expose current 'print' settings to Python Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tom Tromey @ 2022-06-07 15:42 UTC (permalink / raw)
  To: gdb-patches

This series addresses a longstanding wish to be able to access the
value_print_options from pretty-printers.

First, it exposes this information via a new API.

Second, when a 'print' is in effect, it arranges for the local print
options to be stored and then applied by Value.format_string.  This
makes it so that format_string respect the current settings by
default.

Finally, this series exposes the 'summary' field from
value_print_options.

Regression tested on x86-64 Fedora 34.

Tom



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

end of thread, other threads:[~2022-07-15 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 15:42 [PATCH 0/2] More introspection for Value.format_string Tom Tromey
2022-06-07 15:42 ` [PATCH 1/2] Expose current 'print' settings to Python Tom Tromey
2022-06-07 16:12   ` Eli Zaretskii
2022-06-07 15:42 ` [PATCH 2/2] Add 'summary' mode to Value.format_string Tom Tromey
2022-06-07 16:10   ` Eli Zaretskii
2022-07-15 14:45     ` Tom Tromey
2022-07-15 15:24 ` [PATCH 0/2] More introspection for Value.format_string 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).