summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-05-06 18:47:15 (GMT)
committerDavid Malcolm <dmalcolm@redhat.com>2013-05-06 18:47:15 (GMT)
commitd08b21016466561db7a17e44e29d1d7413d79265 (patch)
tree2809fde35733bf9ddf8aae7c3adbc13e7185c89f /Tools/gdb
parent25cd09115d221a9befb3cb57e2226444448d60d1 (diff)
downloadcpython-d08b21016466561db7a17e44e29d1d7413d79265.zip
cpython-d08b21016466561db7a17e44e29d1d7413d79265.tar.gz
cpython-d08b21016466561db7a17e44e29d1d7413d79265.tar.bz2
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
Diffstat (limited to 'Tools/gdb')
-rw-r--r--Tools/gdb/libpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index cab226e..84d4fa3 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?'''