From: Tom Tromey <tom@tromey.com>
To: Hannes Domani <ssbssa@yahoo.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Support dynamically computed convenience variables in get_internalvar_integer
Date: Mon, 11 Dec 2023 12:58:58 -0700 [thread overview]
Message-ID: <87bkawecjh.fsf@tromey.com> (raw)
In-Reply-To: <20231210121255.1711-1-ssbssa@yahoo.de> (Hannes Domani's message of "Sun, 10 Dec 2023 13:12:55 +0100")
>>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> writes:
Hannes> When using $_thread in info threads to showonly the current thread,
Hannes> you get this error:
Hannes> ```
Hannes> (gdb) info thread $_thread
Hannes> Convenience variable must have integer value.
Hannes> Args must be numbers or '$' variables.
Hannes> ```
Hannes> It's because $_thread is a dynamically computed convenience
Hannes> variable, which isn't supported yet by get_internalvar_integer.
Thank you. This is ok.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
next prev parent reply other threads:[~2023-12-11 19:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231210121255.1711-1-ssbssa.ref@yahoo.de>
2023-12-10 12:12 ` Hannes Domani
2023-12-11 19:58 ` Tom Tromey [this message]
2023-12-12 14:54 ` Hannes Domani
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=87bkawecjh.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=ssbssa@yahoo.de \
/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).