projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d476b4
)
Cygdb.py: Add "--" to cygdb usage string before gdb args
author
Marc Abramowitz
<marc@marc-abramowitz.com>
Sun, 13 Oct 2013 00:54:06 +0000
(17:54 -0700)
committer
Marc Abramowitz
<marc@marc-abramowitz.com>
Sun, 13 Oct 2013 00:54:06 +0000
(17:54 -0700)
The "--" needs to be put before any gdb args so that optparse doesn't think that they're cygdb args.
Cython/Debugger/Cygdb.py
patch
|
blob
|
history
diff --git
a/Cython/Debugger/Cygdb.py
b/Cython/Debugger/Cygdb.py
index
334bf41
..
6a5fc32
100644
(file)
--- a/
Cython/Debugger/Cygdb.py
+++ b/
Cython/Debugger/Cygdb.py
@@
-62,7
+62,7
@@
def make_command_file(path_to_debug_info, prefix_code='', no_import=False):
return tempfilename
-usage = "Usage: cygdb [options] [PATH [GDB_ARGUMENTS]]"
+usage = "Usage: cygdb [options] [PATH [
--
GDB_ARGUMENTS]]"
def main(path_to_debug_info=None, gdb_argv=None, no_import=False):
"""