Skip to content

Conversation

@ambv
Copy link
Contributor

@ambv ambv commented Aug 14, 2017

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 2e0f4db)

https://bugs.python.org/issue30983

…ension (pythonGH-2803)

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 2e0f4db)
@ambv ambv force-pushed the backport-2e0f4db-3.6 branch from ca7b03c to 287c9e3 Compare August 14, 2017 22:38
@ambv ambv merged commit 09b7716 into python:3.6 Aug 14, 2017
vstinner added a commit that referenced this pull request Aug 16, 2017
@ambv ambv deleted the backport-2e0f4db-3.6 branch July 12, 2021 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants