Skip to content
Commit 125862f0 authored by Tom Tromey's avatar Tom Tromey
Browse files

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: default avatarEli Zaretskii <eliz@gnu.org>
parent 2c64cbb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment