diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2017-08-22 20:20:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 20:20:40 (GMT) |
commit | 8e572491b59c2334723bfd7411ab2a9fbd100f70 (patch) | |
tree | ba579b9969c2f96b52984663a71a3587d86709c2 /Python/pythonrun.c | |
parent | 680f04a926bce04e4320ba883068c345eba502a6 (diff) | |
download | cpython-8e572491b59c2334723bfd7411ab2a9fbd100f70.zip cpython-8e572491b59c2334723bfd7411ab2a9fbd100f70.tar.gz cpython-8e572491b59c2334723bfd7411ab2a9fbd100f70.tar.bz2 |
[3.6] bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (GH-3153) (#3192)
PEP 523 introduced _PyEval_EvalFrameDefault which inlines PyEval_EvalFrameEx on
non-debug shared builds. This breaks the ability to use py-bt, py-up, and
a few other Python-specific gdb integrations.
This patch fixes the problem by only looking for _PyEval_EvalFrameDefault
frames.
test_gdb passes on both a debug and a non-debug build.
Original patch by Bruno "Polaco" Penteado.
(cherry picked from commit 5fe59f8e3a0a56a155c18f9d581205ec533764b6)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions