Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
7d476b48
Commit
7d476b48
authored
Oct 12, 2013
by
Marc Abramowitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cygdb argument parsing
parent
06363710
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Debugger/Cygdb.py
Cython/Debugger/Cygdb.py
+2
-2
No files found.
Cython/Debugger/Cygdb.py
View file @
7d476b48
...
@@ -82,12 +82,12 @@ def main(path_to_debug_info=None, gdb_argv=None, no_import=False):
...
@@ -82,12 +82,12 @@ def main(path_to_debug_info=None, gdb_argv=None, no_import=False):
(
options
,
args
)
=
parser
.
parse_args
()
(
options
,
args
)
=
parser
.
parse_args
()
if
path_to_debug_info
is
None
:
if
path_to_debug_info
is
None
:
if
len
(
args
)
>
1
:
if
len
(
args
)
>
1
:
path_to_debug_info
=
args
[
1
]
path_to_debug_info
=
args
[
0
]
else
:
else
:
path_to_debug_info
=
os
.
curdir
path_to_debug_info
=
os
.
curdir
if
gdb_argv
is
None
:
if
gdb_argv
is
None
:
gdb_argv
=
args
[
2
:]
gdb_argv
=
args
[
1
:]
if
path_to_debug_info
==
'--'
:
if
path_to_debug_info
==
'--'
:
no_import
=
True
no_import
=
True
...
...
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