This is the mail archive of the
cygwin
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
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