diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-28 09:11:23 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-23 14:17:04 -0600 |
commit | 125862f0f220f631a184599ea7c9ff7efbea9044 (patch) | |
tree | e89a0003d7086ab2e01319ddf1f66e74a125c156 /gdb/NEWS | |
parent | 2c64cbb737e801c5c3b0e0d8b03901b65b2f84dc (diff) | |
download | gdb-125862f0f220f631a184599ea7c9ff7efbea9044.zip gdb-125862f0f220f631a184599ea7c9ff7efbea9044.tar.gz gdb-125862f0f220f631a184599ea7c9ff7efbea9044.tar.bz2 |
Add global_context parameter to gdb.parse_and_eval
This adds a 'global_context' parse_and_eval to gdb.parse_and_eval.
This lets users request a parse that is done at "global scope".
I considered letting callers pass in a block instead, with None
meaning "global" -- but then there didn't seem to be a clean way to
express the default for this parameter.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -195,6 +195,10 @@ info main ** New function gdb.execute_mi(COMMAND, [ARG]...), that invokes a GDB/MI command and returns the output as a Python dictionary. + ** gdb.parse_and_eval now has a new "global_context" parameter. + This can be used to request that the parse only examine global + symbols. + *** Changes in GDB 13 * MI version 1 is deprecated, and will be removed in GDB 14. |