From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27288 invoked by alias); 29 May 2002 10:00:14 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27237 invoked from network); 29 May 2002 10:00:08 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 29 May 2002 10:00:08 -0000 Received: from redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with SMTP id g4T9w8v19662; Wed, 29 May 2002 02:58:08 -0700 Date: Wed, 29 May 2002 08:09:00 -0000 From: Benjamin Kosnik To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: gdb.c++ testsuite 1.3: member_data_static.exp (resend) Message-Id: <20020529030004.4d9ce9e5.bkoz@redhat.com> In-Reply-To: <200205282112.g4SLCap24212@duracef.shout.net> References: <200205282112.g4SLCap24212@duracef.shout.net> Reply-To: bkoz@redhat.com Organization: Red Hat / Paris Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg01000.txt.bz2 > As far as I can tell, gdb is reporting what's actually in the > executable file. 'test3' has one static member and no non-static > members. So perhaps gcc is broken, but I don't understand your view > that gdb is broken. Can you explain more? What do you *want* gdb to > print here? Perhaps it is a gcc error, I don't know. I'd like mec> (gdb) print test3 mec> $2 = {static data = } to be (gdb) print test3 $2 = { = {static test = true, static key1 = 5, static key2 = 77, static value = oriental}, _vptr.gnu_obj_2 = 0x8092efc, static value_derived = etruscian } I have Alternatively, I'd like to be able to use explicit qualifications, to look at static data members, like so: (gdb) print gnu_obj_2::antiquities; $3 = etruscian Seem reasonable? -benjamin