public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] More introspection for Value.format_string
Date: Tue,  7 Jun 2022 09:42:24 -0600	[thread overview]
Message-ID: <20220607154226.3281521-1-tromey@adacore.com> (raw)

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



             reply	other threads:[~2022-06-07 15:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-07 15:42 Tom Tromey [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220607154226.3281521-1-tromey@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).