From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17716 invoked by alias); 14 May 2002 21:34:25 -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 17656 invoked from network); 14 May 2002 21:34:23 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 14 May 2002 21:34:23 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 177jwA-0003TM-00 for ; Tue, 14 May 2002 17:34:26 -0400 Date: Tue, 14 May 2002 14:34:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: gdb.c++ testsuite 1: member data Message-ID: <20020514213426.GA13265@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020514121358.773176f1.bkoz@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020514121358.773176f1.bkoz@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-05/txt/msg00566.txt.bz2 On Tue, May 14, 2002 at 12:13:58PM -0700, Benjamin Kosnik wrote: > These four files test for data member display in gdb. The first, > member_data.cc, tests (bool, int, long, enum) data members and then > tests various combinations of templates, non-POD object, etc. The data > members tested are not random, and are synthesized to represent common > constructs in the C++ standard library. > > The second does the same, but the data members are static. > > As it stands, member_data.cc passes on linux when compiled shared, fails > when static. The second file, members_data_static.cc, fails always. (And > has for years, three at least.) > > Please let me know what you think, and feel free to check them in. I'd > really like it if one day these files both passed, for static and shared > linkage. > > Files as attached. I don't have write access to the 'src' module. (And > it's not especially imperative that I have it.) > > tested x86/linux > > 2002-05-14 Benjamin Kosnik > > * gdb.c++/member_data.cc: New file. > * gdb.c++/member_data.exp: New file. > * gdb.c++/member_data_static.cc: New file. > * gdb.c++/member_data_static.exp: New file. Ben, thanks a lot for submitting these! We can always use more C++ tests, and I'm at work on the ones we have too much already to add more. I don't suppose the "1" in the subject means you've got more coming? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer