Commit d03f1f6a authored by Marc Abramowitz's avatar Marc Abramowitz

Cygdb.py: Add "--" to cygdb usage string before gdb args

The "--" needs to be put before any gdb args so that optparse doesn't think that they're cygdb args.
parent 7d476b48
......@@ -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):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment