From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8344 invoked by alias); 18 Jul 2013 13:42:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8315 invoked by uid 89); 18 Jul 2013 13:42:52 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 18 Jul 2013 13:42:52 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6IDghBj002792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Jul 2013 09:42:43 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r6IDggdt025274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 09:42:43 -0400 From: Tom Tromey To: Hui Zhu Cc: Yao Qi , gdb-patches ml Subject: Re: [PATCH] Fix PR 15692 -dprintf-insert does not accept double quotes References: <51D2E749.9020604@codesourcery.com> <51D4030F.6070000@codesourcery.com> <51D42272.20209@codesourcery.com> <87r4f6gxfn.fsf@fleche.redhat.com> Date: Thu, 18 Jul 2013 13:42:00 -0000 In-Reply-To: (Hui Zhu's message of "Thu, 18 Jul 2013 20:57:27 +0800") Message-ID: <87hafsc7cd.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00451.txt.bz2 >>>>> "Hui" == Hui Zhu writes: Hui> With "call" or "fprintf". Hui> The dprintf is directly outputted by inferior. So the string is: Hui> "foobarbazqux" At foo entry Hui> But with others, the dprintf is outputted by GDB. So the string is: Hui> ~"\"foobarbazqux\" At foo entry\n" Hui> That is why I use different $foobarbazqux. Ah, ok, that makes sense. The patch is ok. Tom