aboutsummaryrefslogtreecommitdiff
path: root/gold/nacl.cc
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2023-12-12 15:53:12 +0100
committerHannes Domani <ssbssa@yahoo.de>2023-12-12 15:53:12 +0100
commit52e0b52e6f2dc1dc5a7b95740d22fd616241db67 (patch)
tree49d9ae9071c9205acafc1148c5acafc4cde5b1ea /gold/nacl.cc
parent0804d18a023575ec65e5139703f600fcb0391c89 (diff)
downloadgdb-52e0b52e6f2dc1dc5a7b95740d22fd616241db67.zip
gdb-52e0b52e6f2dc1dc5a7b95740d22fd616241db67.tar.gz
gdb-52e0b52e6f2dc1dc5a7b95740d22fd616241db67.tar.bz2
Support dynamically computed convenience variables in get_internalvar_integer
When using $_thread in info threads to showonly the current thread, you get this error: ``` (gdb) info thread $_thread Convenience variable must have integer value. Args must be numbers or '$' variables. ``` It's because $_thread is a dynamically computed convenience variable, which isn't supported yet by get_internalvar_integer. Now the output looks like this: ``` (gdb) info threads $_thread Id Target Id Frame * 1 Thread 10640.0x2680 main () at C:/src/repos/binutils-gdb.git/gdb/testsuite/gdb.base/gdbvars.c:21 ``` Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17600 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gold/nacl.cc')
0 files changed, 0 insertions, 0 deletions