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:
0636371
)
Fix cygdb argument parsing
author
Marc Abramowitz
<marc@marc-abramowitz.com>
Sat, 12 Oct 2013 11:03:38 +0000
(
04:03
-0700)
committer
Marc Abramowitz
<marc@marc-abramowitz.com>
Sat, 12 Oct 2013 11:03:38 +0000
(
04:03
-0700)
Cython/Debugger/Cygdb.py
patch
|
blob
|
history
diff --git
a/Cython/Debugger/Cygdb.py
b/Cython/Debugger/Cygdb.py
index
54577eb
..
334bf41
100644
(file)
--- a/
Cython/Debugger/Cygdb.py
+++ b/
Cython/Debugger/Cygdb.py
@@
-82,12
+82,12
@@
def main(path_to_debug_info=None, gdb_argv=None, no_import=False):
(options, args) = parser.parse_args()
if path_to_debug_info is None:
if len(args) > 1:
- path_to_debug_info = args[
1
]
+ path_to_debug_info = args[
0
]
else:
path_to_debug_info = os.curdir
if gdb_argv is None:
- gdb_argv = args[
2
:]
+ gdb_argv = args[
1
:]
if path_to_debug_info == '--':
no_import = True