aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-03 17:13:21 +0100
committerTom de Vries <tdevries@suse.de>2025-03-03 17:13:21 +0100
commitf96ad03c0e6c2440f30d9fe7e1215ff0c2a61f2a (patch)
tree64bfc9586f53a8dcd0c2da31c27d7d392796349f /gdb/python
parentc9ee63c0c0f30e32f30eaebb1f66c8f04d72fd0c (diff)
downloadbinutils-f96ad03c0e6c2440f30d9fe7e1215ff0c2a61f2a.zip
binutils-f96ad03c0e6c2440f30d9fe7e1215ff0c2a61f2a.tar.gz
binutils-f96ad03c0e6c2440f30d9fe7e1215ff0c2a61f2a.tar.bz2
[gdb/doc] Indicate in which languages 'filename'::funcaddr works
In the docs I read [1]: ... In this section, we discuss operators that you can use in GDB expressions regardless of your programming language. ... GDB supports these operators, in addition to those common to programming languages: ‘::’ allows you to specify a variable in terms of the file or function where it is defined. See Program Variables. ... In fact, this is not supported in Ada: ... (gdb) b *'foo.adb'::foo No file or function "foo.adb'". (gdb) ... and likewise in a few other working languages. Fix this by making this restriction explicit. Approved-By: Eli Zaretskii <eliz@gnu.org> PR gdb/32753 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32753 [1] https://sourceware.org/gdb/current/onlinedocs/gdb.html/Expressions.html
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions