The "--" needs to be put before any gdb args so that optparse doesn't think that they're cygdb args.
Attach a file by drag & drop or click to upload