From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9250 invoked by alias); 18 Feb 2011 03:24:42 -0000 Received: (qmail 9238 invoked by uid 22791); 18 Feb 2011 03:24:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Feb 2011 03:24:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 59AD52BACA4; Thu, 17 Feb 2011 22:24:33 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3rnqqD1ICunv; Thu, 17 Feb 2011 22:24:33 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id E5E3D2BACA0; Thu, 17 Feb 2011 22:24:32 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 638F714586B; Fri, 18 Feb 2011 07:24:26 +0400 (RET) Date: Fri, 18 Feb 2011 06:06:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [commit/Ada] Fix unconstrained packed array size Message-ID: <20110218032426.GF15527@adacore.com> References: <1297925036-2762-1-git-send-email-brobecker@adacore.com> <20110217215803.GA30633@host1.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110217215803.GA30633@host1.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-02/txt/msg00444.txt.bz2 > FYI: > print u_var > $3 = (warning: unable to get bounds of array, assuming null array > ) > (gdb) FAIL: gdb.ada/packed_array.exp: print u_var I was afraid something like that might happen. I am pretty sure it is another one of these where the compiler is emitting incomplete debugging info (it works for me). The problem is that our attempts at improving the compiler are conditional on one patch that just we just can't get anyone on gcc-patches to review :-(. I'll try to find the message and ping again. In the meantime, I still think it's worthwhile for the community if I add testcases whenever I can. But it's extra work for me that I then do not use (AdaCore has its own testsuite), so if it's felt as a nuisance, then let me know, and I will stop. -- Joel