[Python-checkins] cpython (3.5): Issue #25820: Remove unused assignment and redundant GDB CLI arguments
martin.panter
python-checkins at python.org
Tue Dec 8 22:20:57 EST 2015
https://hg.python.org/cpython/rev/6902b2024d25
changeset: 99509:6902b2024d25
branch: 3.5
parent: 99507:1d0d8b27a4e6
user: Martin Panter <vadmium+py at gmail.com>
date: Tue Dec 08 21:54:42 2015 +0000
summary:
Issue #25820: Remove unused assignment and redundant GDB CLI arguments
These were added in revision b71cda2f48c6.
files:
Lib/test/test_gdb.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -89,7 +89,6 @@
# 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 @@
# 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]
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list