delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/10/08:37:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding; q=dns; s=default; b=kN7o5YXxIgLg8rON
AmobFH0ooquRQ1oCdVKOsTtlSg4+yCIcHN+QWGOZX9e8Ar2lUc4m9rYGXs8xiOuF
R5Iz1x+NK/ol2uzxN5iLdCwAmEomZUScRUsWkSh469+DwxqIMLA5If7YJuyfEJBw
2ARwT84BpynNV2IQcO3sqpVqzHk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding; s=default; bh=6137GnB4pbpdRZdFJeyzni
FoQ50=; b=DOKmFfyw++fPmpBzKhpcRW1zW1nZm+hAGnIIH8WHPGv8IXfybyOaIJ
jebI1O3q5n4XLhOrW4MqaLEzPZiQeKrrbYKu7m1e/Vcvhd91mFtsoXjxKPtmQRDD
5BZ6IokLvuGoQzX+6FVQljG2yqO2CFtOsxW+0M4v7OIJaSFGIDcsE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f175.google.com
X-Received: by 10.180.89.99 with SMTP id bn3mr5763871wib.61.1441888609462; Thu, 10 Sep 2015 05:36:49 -0700 (PDT)
MIME-Version: 1.0
Reply-To: fracting AT gmail DOT com
In-Reply-To: <BLU436-SMTP19207F39853E2E1301607ABC0510@phx.gbl>
References: <BLU436-SMTP19207F39853E2E1301607ABC0510 AT phx DOT gbl>
From: Qian Hong <fracting AT gmail DOT com>
Date: Thu, 10 Sep 2015 20:36:09 +0800
Message-ID: <CALd+sZRB9wtnP3ZjOoduhEry8=282xXAKea8k5hDLH6qdcBdxg@mail.gmail.com>
Subject: Re: 2.2.1(0.289/5/3), GCC5.2.0 Possible Bug
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8ACb4ur004544

Hi,

On Thu, Sep 10, 2015 at 8:21 PM, Sebastian Götzinger
<bastiangoe AT hotmail DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019