Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d08b210

Browse files
committed
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
1 parent 25cd091 commit d08b210

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ IDLE
168168
Tests
169169
-----
170170

171+
- Issue #17833: Fix test_gdb failures seen on machines where debug symbols
172+
for glibc are available (seen on PPC64 Linux).
173+
171174
- Issue #7855: Add tests for ctypes/winreg for issues found in IronPython.
172175
Initial patch by Dino Viehland.
173176

Tools/gdb/libpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ def is_waiting_for_gil(self):
14601460
# This assumes the _POSIX_THREADS version of Python/ceval_gil.h:
14611461
name = self._gdbframe.name()
14621462
if name:
1463-
return name.startswith('pthread_cond_timedwait')
1463+
return 'pthread_cond_timedwait' in name
14641464

14651465
def is_gc_collect(self):
14661466
'''Is this frame "collect" within the garbage-collector?'''

0 commit comments

Comments
 (0)