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 | 9fca0e8466f202eeef2a89584a6722c21db1bf0b (patch) | |
tree | b86eda951f20300466bfeb5c882ab7edb547169c /Tools/gdb/libpython.py | |
parent | a3b279c884e614a5069848a6e5f0875752e7389c (diff) | |
download | cpython-9fca0e8466f202eeef2a89584a6722c21db1bf0b.tar.gz |
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
Diffstat (limited to 'Tools/gdb/libpython.py')
-rw-r--r-- | Tools/gdb/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
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?''' |