cpython/Lib/test/test_gdb
Miss Islington (bot) 73ebe2f881
[3.11] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111004)
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 920b3dfaca)

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-10-17 18:43:46 +00:00
..
__init__.py [3.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464) 2023-10-06 10:19:49 +00:00
gdb_sample.py
test_backtrace.py
test_cfunction.py
test_cfunction_full.py
test_misc.py
test_pretty_print.py
util.py [3.11] gh-110995: Fix test_gdb check_usable_gdb() (GH-110998) (#111004) 2023-10-17 18:43:46 +00:00