Add global_context keyword to gdb.parse_and_eval in GDB stub (#12269)

This commit is contained in:
Matt
2024-07-03 15:00:29 -03:00
committed by GitHub
parent ea34c97ccc
commit e67340b98c

View File

@@ -46,7 +46,7 @@ def add_history(value: Value, /) -> int: ...
def history_count() -> int: ...
def convenience_variable(name: str, /) -> Value | None: ...
def set_convenience_variable(name: str, value: _ValueOrNative | None, /) -> None: ...
def parse_and_eval(expression: str, /) -> Value: ...
def parse_and_eval(expression: str, global_context: bool = False, /) -> Value: ...
def find_pc_line(pc: int | Value) -> Symtab_and_line: ...
def post_event(event: Callable[[], object], /) -> None: ...
def write(string: str, stream: int = ...) -> None: ...