Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
747029af
Commit
747029af
authored
Dec 09, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Issue #25820: Merge test_gdb fixes from 3.5
parents
2e7fca8e
40e102c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Lib/test/test_gdb.py
Lib/test/test_gdb.py
+1
-3
No files found.
Lib/test/test_gdb.py
View file @
747029af
...
...
@@ -89,7 +89,6 @@ if not gdbpy_version:
# Verify that "gdb" can load our custom hooks, as OS security settings may
# disallow this without a customised .gdbinit.
cmd = ['
--
args
', sys.executable]
_, gdbpy_errors = run_gdb('
--
args
', sys.executable)
if "auto-loading has been declined" in gdbpy_errors:
msg = "gdb security settings prevent use of custom hooks: "
...
...
@@ -171,8 +170,7 @@ class DebuggerTests(unittest.TestCase):
# print commands
# Use "commands" to generate the arguments with which to invoke "gdb":
args
=
[
"gdb"
,
"--batch"
,
"-nx"
]
args
+=
[
'--eval-command=%s'
%
cmd
for
cmd
in
commands
]
args
=
[
'--eval-command=%s'
%
cmd
for
cmd
in
commands
]
args
+=
[
"--args"
,
sys
.
executable
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment