public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Simon Marchi via Gdb <gdb@sourceware.org>
Subject: Re: MI to access value of $ prefixed variable name
Date: Tue, 01 Jun 2021 12:57:04 -0600	[thread overview]
Message-ID: <87v96xqupr.fsf@tromey.com> (raw)
In-Reply-To: <df1ca9fd-5824-fc9b-d926-37a368df3d38@polymtl.ca> (Simon Marchi via Gdb's message of "Tue, 25 May 2021 10:03:56 -0400")

>>>>> "Simon" == Simon Marchi via Gdb <gdb@sourceware.org> writes:

Simon> I'd say that the simplest solution would be: don't use dollar sign in
Simon> identifiers.  But if somebody really wants GDB to support it, then they
Simon> can always send a patch for it (I don't think this is a priority for
Simon> anyone).

I think it would be fine if someone wanted to solve this.
Maybe one idea would be to defer to variables from the inferior, but
provide some additional way to refer to convenience variables.  Or maybe
vice versa.

Tom

      parent reply	other threads:[~2021-06-01 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25  4:35 Jonah Graham
2021-05-25 14:03 ` Simon Marchi
2021-05-25 17:11   ` Jonah Graham
2021-06-01 18:57   ` 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=87v96xqupr.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb@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).