aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-28 08:38:38 -0600
committerTom Tromey <tromey@adacore.com>2023-05-23 13:57:54 -0600
commit87b647cfb13a47effebe185b7dcc733b45f51789 (patch)
tree86106e0e6997b679bcf4eebc0c4b3a3509a2c4ab /gdb/python
parente360af5af8e0ecb3eb62cf3970e9d1df0289c781 (diff)
downloadbinutils-87b647cfb13a47effebe185b7dcc733b45f51789.zip
binutils-87b647cfb13a47effebe185b7dcc733b45f51789.tar.gz
binutils-87b647cfb13a47effebe185b7dcc733b45f51789.tar.bz2
Add PARSER_LEAVE_BLOCK_ALONE flag
This adds a PARSER_LEAVE_BLOCK_ALONE flag, and changes the parse API to respect it. This flag lets callers avoid any change to the passed-in block and expression PC, letting them specify the context exactly. In particular, now nullptr can be used to indicate that the parse should not examine any local variables.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions