Skip to content
Snippets Groups Projects
Commit a026e9eb17b9 authored by Nick Coghlan's avatar Nick Coghlan
Browse files

Merge from 3.3

No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,8 @@ ...@@ -65,7 +65,8 @@
if not gdbpy_version: if not gdbpy_version:
raise unittest.SkipTest("gdb not built with embedded python support") raise unittest.SkipTest("gdb not built with embedded python support")
# Verify that "gdb" can load our custom hooks. In theory this should never fail. # Verify that "gdb" can load our custom hooks, as OS security settings may
# disallow this without a customised .gdbinit.
cmd = ['--args', sys.executable] cmd = ['--args', sys.executable]
_, gdbpy_errors = run_gdb('--args', sys.executable) _, gdbpy_errors = run_gdb('--args', sys.executable)
if "auto-loading has been declined" in gdbpy_errors: if "auto-loading has been declined" in gdbpy_errors:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment