This is the mail archive of the
mailing list for the Cygwin project.
Re: 2.2.1(0.289/5/3), GCC5.2.0 Possible Bug
- From: Qian Hong <fracting at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Thu, 10 Sep 2015 20:36:09 +0800
- Subject: Re: 2.2.1(0.289/5/3), GCC5.2.0 Possible Bug
- Authentication-results: sourceware.org; auth=none
- References: <BLU436-SMTP19207F39853E2E1301607ABC0510 at phx dot gbl>
- Reply-to: fracting at gmail dot com
On Thu, Sep 10, 2015 at 8:21 PM, Sebastian GÃtzinger
> During that, we encountered, that during the compilerinvocation, the
> Doublequotes did not got escaped correctly. 
I'm not the person to answer this, but I can confirm same behavior here.
$ 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)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple