Mercurial > cpython-lru_cache-weakref
diff Tools/gdb/libpython.py @ 83648:f4a6b731905a 3.3
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
| author | David Malcolm <dmalcolm@redhat.com> |
|---|---|
| date | Mon, 06 May 2013 14:47:15 -0400 |
| parents | 07488c3c85f1 |
| children | c57d99a8fc42 6d971b172389 |
line wrap: on
line diff
--- a/Tools/gdb/libpython.py Mon May 06 12:58:16 2013 -0400 +++ b/Tools/gdb/libpython.py Mon May 06 14:47:15 2013 -0400 @@ -1460,7 +1460,7 @@ # 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?'''
