From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29381 invoked by alias); 26 Dec 2006 14:07:06 -0000 Received: (qmail 29270 invoked by uid 22791); 26 Dec 2006 14:07:04 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 26 Dec 2006 14:06:58 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id kBQE6rq8027983; Tue, 26 Dec 2006 15:06:53 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id kBQE6rYt023840; Tue, 26 Dec 2006 15:06:53 +0100 (CET) Date: Tue, 26 Dec 2006 14:07:00 -0000 Message-Id: <200612261406.kBQE6rYt023840@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: brobecker@adacore.com CC: gdb-patches@sourceware.org In-reply-to: <20061226055233.GK3640@adacore.com> (message from Joel Brobecker on Tue, 26 Dec 2006 09:52:33 +0400) Subject: Re: [RFA/testsuite/ada] Add test with function returning "small" array of floats References: <20061226055233.GK3640@adacore.com> 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: 2006-12/txt/msg00322.txt.bz2 > Date: Tue, 26 Dec 2006 09:52:33 +0400 > From: Joel Brobecker > > Hello, > > Following a question raised by Mark in: > > http://www.sourceware.org/ml/gdb-patches/2006-12/msg00312.html > > I decided to add a test in gdb.ada/array_return to cover that case. > > 2006-12-26 Joel Brobecker > > * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type. > (Create_Small_Float_Vector): New function. > * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add > function body. > * gdb.ada/array_return/p.adb: Use new type and function from > package Pck. > * gdb.ada/array_return.exp: Add a test verifying that GDB is > able to print the value returned by a function returning an > array of float. > > Tested on sparc64-solaris. OK to apply? Looks reasonable to me, but then I don't know any Ada. Mark