From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12648 invoked by alias); 20 Nov 2003 18:20:58 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12639 invoked from network); 20 Nov 2003 18:20:57 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (209.53.17.87) by sources.redhat.com with SMTP; 20 Nov 2003 18:20:57 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id DA561482A3; Thu, 20 Nov 2003 10:20:51 -0800 (PST) Date: Thu, 20 Nov 2003 18:20:00 -0000 From: Joel Brobecker To: Roul Oldenburger Cc: gdb@sources.redhat.com Subject: Re: debuginformation generated by GNAT Message-ID: <20031120182051.GB1186@gnat.com> References: <3FBA41DC.6050209@rheinmetall-de.com> <20031118185122.GD1319@gnat.com> <3FBCE28E.10807@rheinmetall-de.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FBCE28E.10807@rheinmetall-de.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-11/txt/msg00175.txt.bz2 > The first tells me 'tas' has a variable length and needs an alignment of > 4 storage units ... the given field is as you said the access field. Right. > As I understood it is just a substitute or does it actually represent > the pointer to the array behind it. In memory, this is a pointer to your array. From the user's perspective, though, the ___XVL suffix tells you that he believes it's just an array. > The second tells me it actually is an array .... exp_debug.ads: Did GNAT generate any ___XUP or ___XUT type, that's where the bounds are stored when the upper bounds are dynamic. See "Pointers to Unconstrained Arrays". The types you were looking at are useful when you are trying to print the type of the array type itself, not the type of the field, I believe. -- Joel