From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14763 invoked by alias); 3 Nov 2010 19:09:56 -0000 Received: (qmail 14755 invoked by uid 22791); 3 Nov 2010 19:09:55 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Nov 2010 19:09:51 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA3J9mbT014188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Nov 2010 15:09:48 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oA3J9hsr001012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Nov 2010 15:09:47 -0400 Received: from host0.dyn.jankratochvil.net (localhost.localdomain [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oA3J9dxx008977; Wed, 3 Nov 2010 20:09:40 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oA3J9Zle008976; Wed, 3 Nov 2010 09:09:35 -1000 Date: Wed, 03 Nov 2010 19:09:00 -0000 From: Jan Kratochvil To: Ken Werner Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Regression on gdb.ada/null_array.exp [Re: [patch] DW_AT_byte_size for array type entries] Message-ID: <20101103190935.GA8853@host0.dyn.jankratochvil.net> References: <201010191323.57251.ken@linux.vnet.ibm.com> <201010192016.05535.ken@linux.vnet.ibm.com> <201011031522.50715.ken@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201011031522.50715.ken@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00071.txt.bz2 On Wed, 03 Nov 2010 04:22:50 -1000, Ken Werner wrote: > Thanks. I've checked in the version below: > http://sourceware.org/ml/gdb-cvs/2010-11/msg00014.html This patch has a regression, for: gcc (GCC) 4.4.6 20101103 (prerelease) The regression does not happen with: gcc (GCC) 4.6.0 20101103 (experimental) gcc (GCC) 4.5.2 20101103 (prerelease) (gdb) print my_table -$1 = () -(gdb) PASS: gdb.ada/null_array.exp: print my_table +$1 = (warning: unable to get bounds of array, assuming null array +) +(gdb) FAIL: gdb.ada/null_array.exp: print my_table I cannot say more as I cannot read the GNAT debug info. Regards, Jan