[PATCH] gdb-dap: fix gdb.error: Frame is invalid.

Tom Tromey tom@tromey.com
Fri Dec 13 16:50:14 GMT 2024


>>>>> "Oleg" == Oleg Tolmatcev <oleg.tolmatcev@gmail.com> writes:

Oleg> diff --git a/gdb/python/lib/gdb/dap/scopes.py b/gdb/python/lib/gdb/dap/scopes.py
Oleg> index fb90f647a0..14f5ba1985 100644
Oleg> --- a/gdb/python/lib/gdb/dap/scopes.py
Oleg> +++ b/gdb/python/lib/gdb/dap/scopes.py
Oleg> @@ -20,6 +20,7 @@ from .globalvars import get_global_scope
Oleg>  from .server import request
Oleg>  from .sources import make_source
Oleg>  from .startup import in_gdb_thread
Oleg> +from .state import set_thread

pre-commit pointed out that this import isn't used, so I removed it
before pushing.

Tom


More information about the Gdb-patches mailing list