mirror of
https://github.com/python/cpython.git
synced 2025-10-28 09:10:36 +00:00
gh-110995: Fix test_gdb check_usable_gdb() (GH-110998)
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
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| gdb_sample.py | ||
| test_backtrace.py | ||
| test_cfunction.py | ||
| test_cfunction_full.py | ||
| test_misc.py | ||
| test_pretty_print.py | ||
| util.py | ||