public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: Simon Farre via Gdb-patches <gdb-patches@sourceware.org>
Cc: Simon Farre <simon.farre.cx@gmail.com>,  tromey@adacore.com
Subject: Re: [PATCH v4] gdb/DAP Introduce new methods to to Pretty Printers
Date: Mon, 11 Sep 2023 12:07:31 -0600	[thread overview]
Message-ID: <87zg1sk2ho.fsf@tromey.com> (raw)
In-Reply-To: <20230626153108.193139-1-simon.farre.cx@gmail.com> (Simon Farre via Gdb-patches's message of "Mon, 26 Jun 2023 17:31:08 +0200")

>>>>> "Simon" == Simon Farre via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> This patch introduces the `num_children` method to the NoOpArray-pretty
Simon> printer as well as fixing a bug where some types accidentally uses
Simon> NoOpScalar pretty printers. It also cleans up the retrieval of variables
Simon> during a "variables" request (or an "evaluate" request) reducing the
Simon> complexity.

We discussed it a bit earlier, but basically I think we can't add
methods to pretty-printers without a bit of extra work.

I recently implemented this though.  Would you mind looking at this
series?

https://sourceware.org/pipermail/gdb-patches/2023-September/202342.html

If/when this lands we can start the process of updating the various
pretty printers out in the wild.

Tom

      parent reply	other threads:[~2023-09-11 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26 15:31 Simon Farre
2023-06-27 12:41 ` Simon Farre
2023-09-11 18:07 ` Tom Tromey [this message]

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=87zg1sk2ho.fsf@tromey.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.farre.cx@gmail.com \
    /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).