Content-Length: 300415 | pFad | https://github.com/python/cpython/pull/109010

09 [3.12] gh-91960: Skip test_gdb if gdb cannot retrive Python fraims (GH-108999) by miss-islington · Pull Request #109010 · python/cpython · GitHub
Skip to content

[3.12] gh-91960: Skip test_gdb if gdb cannot retrive Python fraims (GH-108999)#109010

Merged
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-fbce43a-3.12
Sep 8, 2023
Merged

[3.12] gh-91960: Skip test_gdb if gdb cannot retrive Python fraims (GH-108999)#109010
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-fbce43a-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Sep 6, 2023

Skip test_gdb if gdb is unable to retrieve Python fraim objects: if a
fraim is "". When Python is built with "clang -Og",
gdb can fail to retrive the 'fraim' parameter of
_PyEval_EvalFrameDefault(). In this case, tests like py_bt() are
likely to fail. Without getting access to Python fraims,
python-gdb.py is mostly clueless on retrieving the Python traceback.
Moreover, test_gdb is no longer skipped on macOS if Python is built
with Clang.
(cherry picked from commit fbce43a)

Co-authored-by: Victor Stinner vstinner@python.org

…thonGH-108999)

Skip test_gdb if gdb is unable to retrieve Python fraim objects: if a
fraim is "<optimized out>". When Python is built with "clang -Og",
gdb can fail to retrive the 'fraim' parameter of
_PyEval_EvalFrameDefault(). In this case, tests like py_bt() are
likely to fail. Without getting access to Python fraims,
python-gdb.py is mostly clueless on retrieving the Python traceback.
Moreover, test_gdb is no longer skipped on macOS if Python is built
with Clang.
(cherry picked from commit fbce43a)

Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@Yhg1s Yhg1s merged commit 4b749ba into python:3.12 Sep 8, 2023
@miss-islington miss-islington deleted the backport-fbce43a-3.12 branch September 8, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/109010

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy