From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28701 invoked by alias); 25 Mar 2007 02:04:51 -0000 Received: (qmail 28690 invoked by uid 22791); 25 Mar 2007 02:04:49 -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; Sun, 25 Mar 2007 03:04:46 +0100 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 4A27D48CEC1; Sat, 24 Mar 2007 22:04:43 -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 25747-01-9; Sat, 24 Mar 2007 22:04:41 -0400 (EDT) Received: from joel.gnat.com (nile.gnat.com [205.232.38.5]) by nile.gnat.com (Postfix) with ESMTP id 7483648CEB1; Sat, 24 Mar 2007 22:04:41 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 3E107E7B41; Sat, 24 Mar 2007 22:05:44 -0400 (EDT) Date: Sun, 25 Mar 2007 02:04:00 -0000 From: Joel Brobecker To: jagorak Cc: gdb@sourceware.org, Paul Hilfinger Subject: Re: Ada arrays - a problem with aggregate notation. Message-ID: <20070325020544.GS6663@adacore.com> References: <19311509093.20070325002416@wp.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19311509093.20070325002416@wp.pl> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00301.txt.bz2 > == quote == > There is limited support for [Ada] array and record aggregates. They are > permitted only on the right sides of assignments, as in these examples: > set An_Array := (1, 2, 3, 4, 5, 6) > (...) > == end quote == Hmmm, I think the documentation might be inaccurate. We implemented support for array aggregates only recently (about a year ago), and it required a relatively large change. Unfortunately, we're not contributing our changes in terms of the Ada mode as fast as we'd like, so it hasn't made it to the FSF yet. We will get to it eventually. In the meantime, if you'd like to debug Ada, you might want to have a look at building our version of GDB: It has the latest Ada support in it: https://libre.adacore.com/GDB/. -- Joel