summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-02-07 12:38:34 (GMT)
committerGitHub <noreply@github.com>2024-02-07 12:38:34 (GMT)
commit8a3c499ffe7e15297dd4c0b446a0b97b4d32108a (patch)
tree33db486003306c8b0bee15012680642391963977 /Tools/gdb
parentd0322fdf2c1a7292a43959fe5a572d783b88a1c4 (diff)
downloadcpython-8a3c499ffe7e15297dd4c0b446a0b97b4d32108a.zip
cpython-8a3c499ffe7e15297dd4c0b446a0b97b4d32108a.tar.gz
cpython-8a3c499ffe7e15297dd4c0b446a0b97b4d32108a.tar.bz2
GH-108362: Revert "GH-108362: Incremental GC implementation (GH-108038)" (#115132)
Revert "GH-108362: Incremental GC implementation (GH-108038)" This reverts commit 36518e69d74607e5f094ce55286188e4545a947d.
Diffstat (limited to 'Tools/gdb')
-rwxr-xr-xTools/gdb/libpython.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 96b8914..483f28b 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -1753,11 +1753,8 @@ class Frame(object):
return (name == 'take_gil')
def is_gc_collect(self):
- '''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'
- )
+ '''Is this frame gc_collect_main() within the garbage-collector?'''
+ return self._gdbframe.name() in ('collect', 'gc_collect_main')
def get_pyop(self):
try: