From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4074 invoked by alias); 2 Jan 2007 16:40:55 -0000 Received: (qmail 4065 invoked by uid 22791); 2 Jan 2007 16:40:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 02 Jan 2007 16:40:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H1mgu-0003ov-Jz; Tue, 02 Jan 2007 11:40:44 -0500 Date: Tue, 02 Jan 2007 16:40:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb@sourceware.org Subject: Re: Ada testsuite failures Message-ID: <20070102164044.GA14566@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb@sourceware.org References: <20061231194604.GA23919@nevyn.them.org> <20070102113903.GH3434@adacore.com> <20070102143926.GA10771@nevyn.them.org> <20070102163108.GJ3434@adacore.com> <20070102163302.GL3434@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070102163302.GL3434@adacore.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00018.txt.bz2 On Tue, Jan 02, 2007 at 08:33:02PM +0400, Joel Brobecker wrote: > > Looking at the test I'm not surprised. Empty is unused; adding > > something that references it is probably sufficient. > > Yes, I agree. Could you try the following patch? > > 2006-01-02 Joel Brobecker > > * gdb.ada/null_record/bar.ads (Do_Nothing): Add extra parameter. > * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise. > * gdb.ada/null_record/null_record.adb: Fake use of type Empty > to prevent this type from being optimized out. > > That should help, Sort of... (gdb) ptype E type = record null; end record (gdb) ptype empty type = function return int (gdb) ptype bar.empty No definition of "bar.empty" in current context. The debug info does mention bar__empty now, at least. -- Daniel Jacobowitz CodeSourcery