summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-aux/requirements.txt2
-rw-r--r--gdb-helpers/libcr.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/build-aux/requirements.txt b/build-aux/requirements.txt
index 03c0b3d..43a13be 100644
--- a/build-aux/requirements.txt
+++ b/build-aux/requirements.txt
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
mypy
-types-gdb
+types-gdb>=15.0.0.20241204 # https://github.com/python/typeshed/pull/13169
black
isort
diff --git a/gdb-helpers/libcr.py b/gdb-helpers/libcr.py
index dbe7ec8..c8addc6 100644
--- a/gdb-helpers/libcr.py
+++ b/gdb-helpers/libcr.py
@@ -139,7 +139,9 @@ class CrSetJmpBreakpoint(gdb.Breakpoint):
def __init__(self, cr_globals: CrGlobals) -> None:
self.cr_globals = cr_globals
cr_globals.breakpoints += [self]
- super().__init__(function="_cr_plat_setjmp_pre", type=gdb.BP_BREAKPOINT, internal=True) # type: ignore
+ super().__init__(
+ function="_cr_plat_setjmp_pre", type=gdb.BP_BREAKPOINT, internal=True
+ )
def stop(self) -> bool:
if bool(gdb.parse_and_eval("env == &coroutine_add_env")):