gdb passes different argv/argc to mingw & cygwin

Shankar Unni shankar@cotagesoft.com
Wed Jul 23 01:24:00 GMT 2003


Sam Steingold wrote:

> args='"4 4" '"'5 5'"

What you're seeing is the side-effect of how mingw-compiled programs
handle wildcards.

mingw-compiled programs automatically link in support for wildcard
expansion of arguments passed in via the Windows GetCommandLine(). So
you'll often see extra quotes being consumed, and other such effects.
It's unavoidable when dealing with Windows..



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list