]> granicus.if.org Git - python/commit
[3.6] bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (GH-2803...
authorŁukasz Langa <lukasz@langa.pl>
Mon, 14 Aug 2017 23:06:28 +0000 (16:06 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Aug 2017 23:06:28 +0000 (16:06 -0700)
commit09b77165e3fffa7b7ff160ad06042cdcfa004bf5
treea959fa18d911387335a411f0af57e31409a488b9
parentf2d769d539279f01a6589dd3a0d5865dd00e13b0
[3.6] bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (GH-2803) (#3090)

pep 0523 renames PyEval_EvalFrameEx to _PyEval_EvalFrameDefault while the gdb python extension only looks for PyEval_EvalFrameEx to understand if it is dealing with a frame.

Final effect is that attaching gdb to a python3.6 process doesnt resolve python objects. Eg. py-list and py-bt dont work properly.

This patch fixes that. Tested locally on python3.6
(cherry picked from commit 2e0f4db114)
Misc/NEWS.d/next/Tools-Demos/2017-08-14-15-37-38.bpo-30983.A7UzX8.rst [new file with mode: 0644]
Tools/gdb/libpython.py