mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
This commit is contained in:
parent
25cd09115d
commit
d08b210164
@ -168,6 +168,9 @@ IDLE
|
||||
Tests
|
||||
-----
|
||||
|
||||
- Issue #17833: Fix test_gdb failures seen on machines where debug symbols
|
||||
for glibc are available (seen on PPC64 Linux).
|
||||
|
||||
- Issue #7855: Add tests for ctypes/winreg for issues found in IronPython.
|
||||
Initial patch by Dino Viehland.
|
||||
|
||||
|
@ -1460,7 +1460,7 @@ class Frame(object):
|
||||
# This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
|
||||
name = self._gdbframe.name()
|
||||
if name:
|
||||
return name.startswith('pthread_cond_timedwait')
|
||||
return 'pthread_cond_timedwait' in name
|
||||
|
||||
def is_gc_collect(self):
|
||||
'''Is this frame "collect" within the garbage-collector?'''
|
||||
|
Loading…
Reference in New Issue
Block a user