From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24261 invoked by alias); 21 Oct 2008 16:27:55 -0000 Received: (qmail 24251 invoked by uid 22791); 21 Oct 2008 16:27:55 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Oct 2008 16:27:20 +0000 Received: (qmail 11490 invoked from network); 21 Oct 2008 16:27:18 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Oct 2008 16:27:18 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, tromey@redhat.com Subject: Re: RFA: fix PR 2506 Date: Tue, 21 Oct 2008 16:27:00 -0000 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810211727.18574.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2008-10/txt/msg00508.txt.bz2 Hi Tom, Thanks for working on this. On Thursday 21 August 2008 02:56:21, Tom Tromey wrote: > PR 2506 is about string concatenation. > 2008-08-20 Tom Tromey > > PR gdb/2506: > * c-exp.y (string_exp): New production. > (exp): Use it. > > 2008-08-20 Tom Tromey > > * gdb.base/exprs.exp (test_expr): Add test for string > concatenation. > This crashes for me: print "foo" "bar" "boo" :-( Also, these files don't use xmalloc/xfree. Instead, one writes malloc/free; they're sed'ed by the build system --- see the top of c-exp.y. -- Pedro Alves