From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3302 invoked by alias); 15 Jul 2008 19:04:00 -0000 Received: (qmail 3232 invoked by uid 22791); 15 Jul 2008 19:03:59 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Jul 2008 19:03:42 +0000 Received: from spaceape23.eur.corp.google.com (spaceape23.eur.corp.google.com [172.28.16.75]) by smtp-out.google.com with ESMTP id m6FJ3XDD004377 for ; Tue, 15 Jul 2008 20:03:33 +0100 Received: from qw-out-2122.google.com (qwb9.prod.google.com [10.241.193.73]) by spaceape23.eur.corp.google.com with ESMTP id m6FJ3TiM005812 for ; Tue, 15 Jul 2008 20:03:32 +0100 Received: by qw-out-2122.google.com with SMTP id 9so220278qwb.21 for ; Tue, 15 Jul 2008 12:03:32 -0700 (PDT) Received: by 10.151.103.11 with SMTP id f11mr745775ybm.174.1216148612118; Tue, 15 Jul 2008 12:03:32 -0700 (PDT) Received: by 10.151.109.14 with HTTP; Tue, 15 Jul 2008 12:03:32 -0700 (PDT) Message-ID: <8ac60eac0807151203j666104adpb1c1328f606b12b6@mail.gmail.com> Date: Tue, 15 Jul 2008 19:04:00 -0000 From: "Paul Pluzhnikov" To: "Ulrich Weigand" Subject: Re: [RFA] Patch for PR gdb/2477 Cc: gdb-patches@sourceware.org In-Reply-To: <200807151852.m6FIqECB022335@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8ac60eac0807141111r58b047a3j7fd4a39080b1be19@mail.gmail.com> <200807151852.m6FIqECB022335@d12av02.megacenter.de.ibm.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-07/txt/msg00320.txt.bz2 On Tue, Jul 15, 2008 at 11:52 AM, Ulrich Weigand wrote: > p acp->c2 > $10 = (A *) 0x3ffff > (gdb) FAIL: gdb.cp/class2.exp: p acp->c2 > > Any suggestions how to fix this? Well, since we are just testing absence of gdb error, the test can be relaxed: Index: testsuite/gdb.cp/class2.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/class2.exp,v retrieving revision 1.7 diff -u -p -u -r1.7 class2.exp --- testsuite/gdb.cp/class2.exp 14 Jul 2008 18:28:57 -0000 1.7 +++ testsuite/gdb.cp/class2.exp 15 Jul 2008 19:01:37 -0000 @@ -123,4 +123,4 @@ gdb_test "p e" "= \{\}" gdb_test "set print object on" "" gdb_test "p acp" "= \\(C \\*\\) 0x\[a-f0-9\]+" gdb_test "p acp->c1" "\\(A \\*\\) 0x0" -gdb_test "p acp->c2" "\\(A \\*\\) 0xf+" +gdb_test "p acp->c2" "\\(A \\*\\) 0x\[a-f0-9\]+" I don't know if that's the correct solution though. -- Paul Pluzhnikov