diff options
author | David Malcolm <dmalcolm@redhat.com> | 2013-05-06 14:47:15 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2013-05-06 14:47:15 -0400 |
commit | d08b21016466561db7a17e44e29d1d7413d79265 (patch) | |
tree | 2809fde35733bf9ddf8aae7c3adbc13e7185c89f | |
parent | 25cd09115d221a9befb3cb57e2226444448d60d1 (diff) | |
download | cpython-git-d08b21016466561db7a17e44e29d1d7413d79265.tar.gz |
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | Tools/gdb/libpython.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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. diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index cab226e5d0..84d4fa31c4 100644 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -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?''' |