diff options
author | Mark Shannon <mark@hotpy.org> | 2024-02-05 18:28:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 18:28:51 +0000 |
commit | 36518e69d74607e5f094ce55286188e4545a947d (patch) | |
tree | b031b3cb351b68e5bee0ad4bf346fd958b2b9307 /Tools/gdb/libpython.py | |
parent | b4ba0f73d6eef3da321bb96aafd09dfbc572e95d (diff) | |
download | cpython-36518e69d74607e5f094ce55286188e4545a947d.tar.gz cpython-36518e69d74607e5f094ce55286188e4545a947d.zip |
GH-108362: Incremental GC implementation (GH-108038)
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-x | Tools/gdb/libpython.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index 483f28b46df..96b891481d9 100755 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -1753,8 +1753,11 @@ class Frame(object): return (name == 'take_gil') def is_gc_collect(self): - '''Is this frame gc_collect_main() within the garbage-collector?''' - return self._gdbframe.name() in ('collect', 'gc_collect_main') + '''Is this frame a collector within the garbage-collector?''' + return self._gdbframe.name() in ( + 'collect', 'gc_collect_full', 'gc_collect_main', + 'gc_collect_young', 'gc_collect_increment' + ) def get_pyop(self): try: |