This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 2.2.1(0.289/5/3), GCC5.2.0 Possible Bug


Hi,

On Thu, Sep 10, 2015 at 8:21 PM, Sebastian GÃtzinger
<bastiangoe@hotmail.com> wrote:
> During that, we encountered, that during the compilerinvocation, the
> Doublequotes did not got escaped correctly. [1]

I'm not the person to answer this, but I can confirm same behavior here.

On Linux:
$ gdb --args bash -c "bash -c ls"
will run the `ls` program successfully after typing `r` inside the debugger.

However, on Cygwin, the above command will run into bash shell.

As a workaround, I use a command file like below:
$ cat command.txt
r -c "bash -c ls"

and then start gdb like below:
$ gdb bash --command command.txt

(hmm, I didn't realized it is a bug, that's why i have to use the
workaround, thanks for pointing out that)

-- 
Regards,
Qian Hong

-
http://www.winehq.org

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]