• Bruno "Polaco" Penteado's avatar
    bpo-30983: eval frame rename in pep 0523 broke gdb's python extension (#2803) · 2e0f4db1
    Bruno "Polaco" Penteado authored
    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
    2e0f4db1
libpython.py 62.4 KB