Skip to content

Commit 0951d03

Browse files
committed
Fix gdb support
1 parent 5361bd7 commit 0951d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/gdb/libpython.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,8 +1755,8 @@ def is_waiting_for_gil(self):
17551755
def is_gc_collect(self):
17561756
'''Is this frame a collector within the garbage-collector?'''
17571757
return self._gdbframe.name() in (
1758-
'collect', 'gc_collect_full',
1759-
'gc_collect_young', 'gc_collect_increment'
1758+
'collect', 'gc_collect_full', 'gc_collect_main',
1759+
'gc_collect_young', 'gc_collect_increment',
17601760
)
17611761

17621762
def get_pyop(self):

0 commit comments

Comments
 (0)