Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) #111004

Merged
merged 1 commit into from Oct 17, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 17, 2023

Fix detection of gdb built without Python scripting support.

  • check_usable_gdb() doesn't check gdb exit code when calling
    run_gdb().
  • Use shutil.which() to get the path to the gdb program.
    (cherry picked from commit 920b3df)

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

Fix detection of gdb built without Python scripting support.

* check_usable_gdb() doesn't check gdb exit code when calling
  run_gdb().
* Use shutil.which() to get the path to the gdb program.
(cherry picked from commit 920b3df)

Co-authored-by: Victor Stinner <vstinner@python.org>
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.

None yet

2 participants