From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1616 invoked by alias); 29 Nov 2012 20:11:14 -0000 Received: (qmail 1599 invoked by uid 22791); 29 Nov 2012 20:11:12 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Nov 2012 20:10:54 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YC8xS0scsz3hhbh; Thu, 29 Nov 2012 21:10:51 +0100 (CET) X-Auth-Info: LOMn4kCZYTPM7edxiYw6UEYU37hUXCJ/6t3WJdDEeVE= Received: from igel.home (ppp-88-217-101-118.dynamic.mnet-online.de [88.217.101.118]) by mail.mnet-online.de (Postfix) with ESMTPA id 3YC8xR3vVXzbbfP; Thu, 29 Nov 2012 21:10:51 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id C6924CA2A4; Thu, 29 Nov 2012 21:10:50 +0100 (CET) From: Andreas Schwab To: lgustavo@codesourcery.com Cc: Tom Tromey , Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [PATCH] Fix mi "-var-create" regression References: <5075D4FD.9050900@mentor.com> <20121014171805.GB3050@adacore.com> <507BFF97.2000900@codesourcery.com> <87y5j4ziof.fsf@fleche.redhat.com> <508DB53E.30507@codesourcery.com> X-Yow: I'm pretending that we're all watching PHIL SILVERS instead of RICARDO MONTALBAN! Date: Thu, 29 Nov 2012 20:11:00 -0000 In-Reply-To: <508DB53E.30507@codesourcery.com> (Luis Machado's message of "Sun, 28 Oct 2012 20:44:14 -0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-11/txt/msg00895.txt.bz2 Luis Machado writes: > +# Test creating a variable for $sp > +mi_gdb_test "-var-create sp1 * \$sp" \ > + "\\^done,name=\"sp1\",numchild=\"0\",value=\"$hex\",type=\"void \\*\",has_more=\"0\"" \ > + "-var-create sp1 * \$sp" > +gdb_exit Expecting: ^(-var-create sp1 \* \$sp[ ]+)?(\^done,name="sp1",numchild="0",value="0x[0-9A-Fa-f]+",type="void \*",has_more="0"[ ]+[(]gdb[)] [ ]*) -var-create sp1 * $sp ^done,name="sp1",numchild="0",value="70368744167200",type="uint64_t",has_more="0" (gdb) FAIL: gdb.mi/mi-var-create-rtti.exp: -var-create sp1 * $sp Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."