From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3405 invoked by alias); 13 Oct 2006 04:39:02 -0000 Received: (qmail 3385 invoked by uid 22791); 13 Oct 2006 04:39:01 -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; Fri, 13 Oct 2006 04:38:59 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GYEox-0007Nq-9D; Fri, 13 Oct 2006 00:38:55 -0400 Date: Fri, 13 Oct 2006 04:39:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: arrayidx.exp failures Message-ID: <20061013043855.GA28303@nevyn.them.org> Mail-Followup-To: Joel Brobecker , Nick Roberts , gdb-patches@sources.redhat.com References: <17710.63085.830960.73093@kahikatea.snap.net.nz> <20061013023839.GI1059@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061013023839.GI1059@adacore.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes 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/msg00145.txt.bz2 On Thu, Oct 12, 2006 at 07:38:39PM -0700, Joel Brobecker wrote: > 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. FYI, Joel, I have no idea what compilers you test with - but half of the Ada tests in the GDB testsuite have never passed for me with FSF gnat, at least 4.0 and 4.1, and possibly 3.4 too. FAIL: gdb.ada/arrayidx.exp: print e_one_two_three, indexes off FAIL: gdb.ada/arrayidx.exp: print r_two_three, indexes off FAIL: gdb.ada/arrayidx.exp: print u_one_two_three, indexes off FAIL: gdb.ada/arrayidx.exp: print p_one_two_three, indexes off FAIL: gdb.ada/arrayidx.exp: print e_one_two_three FAIL: gdb.ada/arrayidx.exp: print r_two_three FAIL: gdb.ada/arrayidx.exp: print u_one_two_three FAIL: gdb.ada/arrayidx.exp: print p_one_two_three FAIL: gdb.ada/null_record.exp: ptype on null record FAIL: gdb.ada/packed_array.exp: print var print e_one_two_three $2 = (0 => 1, 2, 3) (gdb) FAIL: gdb.ada/arrayidx.exp: print e_one_two_three, indexes off print r_two_three $3 = (2, 3) (gdb) FAIL: gdb.ada/arrayidx.exp: print r_two_three, indexes off print u_one_two_three No definition of "u_one_two_three" in current context. (gdb) FAIL: gdb.ada/arrayidx.exp: print u_one_two_three, indexes off print p_one_two_three $4 = warning: could not find bounds information on packed array can't unpack array (gdb) FAIL: gdb.ada/arrayidx.exp: print p_one_two_three, indexes off print e_one_two_three $9 = (0 => 1, 1 => 2, 2 => 3) (gdb) FAIL: gdb.ada/arrayidx.exp: print e_one_two_three print r_two_three $10 = (1 => 2, 2 => 3) (gdb) FAIL: gdb.ada/arrayidx.exp: print r_two_three print u_one_two_three No definition of "u_one_two_three" in current context. (gdb) FAIL: gdb.ada/arrayidx.exp: print u_one_two_three print p_one_two_three $11 = warning: could not find bounds information on packed array can't unpack array (gdb) FAIL: gdb.ada/arrayidx.exp: print p_one_two_three ptype empty type = function return int (gdb) FAIL: gdb.ada/null_record.exp: ptype on null record (gdb) print var $1 = warning: could not find bounds information on packed array can't unpack array (gdb) FAIL: gdb.ada/packed_array.exp: print var -- Daniel Jacobowitz CodeSourcery