From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11304 invoked by alias); 13 Oct 2006 02:38:47 -0000 Received: (qmail 11295 invoked by uid 22791); 13 Oct 2006 02:38:46 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Oct 2006 02:38:43 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 6E53C48CF88; Thu, 12 Oct 2006 22:38:41 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01286-02-4; Thu, 12 Oct 2006 22:38:41 -0400 (EDT) Received: from takamaka.act-europe.fr (unknown [70.71.0.212]) by nile.gnat.com (Postfix) with ESMTP id 22DC448CF87; Thu, 12 Oct 2006 22:38:41 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id DFE3F47F00; Thu, 12 Oct 2006 19:38:39 -0700 (PDT) Date: Fri, 13 Oct 2006 02:38:00 -0000 From: Joel Brobecker To: Nick Roberts Cc: gdb-patches@sources.redhat.com Subject: Re: arrayidx.exp failures Message-ID: <20061013023839.GI1059@adacore.com> References: <17710.63085.830960.73093@kahikatea.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17710.63085.830960.73093@kahikatea.snap.net.nz> User-Agent: Mutt/1.4i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00144.txt.bz2 > 2006-10-06 Joel Brobecker > > * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that > the corresponding bug has been fixed in GDB (PR/2018). > > They still fail for me with: > > GNU gdb 6.5.50.20061013-cvs > This GDB was configured as "i686-pc-linux-gnu". > > I can't see any mention of PR/2018 in gdb/ChangeLog. Has this fix actually > been committed? Yes: 2006-10-06 Joel Brobecker * dwarf2read.c (read_array_type): Set the type name if the name attribute is present. I will add a mention of the PR in the changelog, that's a good remark. In terms of why it fails for you, it is probably because of something else. I will guess that you are missing some parts of the encodings necessary to complete the decoding of the array. The encoding is documented in ada/exp_dbug.ads of GCC. So I'm guessing a malfunction of GCC rather than a possible bug in GDB. We're pushing all the changes we made for 41 in that department as fast as we can so that everyone can enjoy the most of Ada. But long term, we'll be moving towards pure dwarf data. -- Joel