]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Mar 2020 18:51:43 +0000 (11:51 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2020 18:51:43 +0000 (11:51 -0700)
commit1695836123609a8ae97f2cfbe180a028dcd650a3
treeb19ef7678f6b2fab858f1e9cbd45bba3996dedf5
parent2235e04170503673471d5ec2e7c693cdadcbdc65
bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)

python-gdb.py now checks for "take_gil" function name to check if a
frame tries to acquire the GIL, instead of checking for
"pthread_cond_timedwait" which is specific to Linux and can be a
different condition than the GIL.
(cherry picked from commit 6d0ee60740f2862a878f009671b1aaa75aeb0c2a)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Tools-Demos/2020-03-09-13-28-13.bpo-36184.BMPJ0D.rst [new file with mode: 0644]
Tools/gdb/libpython.py