This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/testsuite/ada] Add test with function returning "small" array of floats
- From: Mark Kettenis <kettenis at sibelius dot xs4all dot nl>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 26 Dec 2006 15:06:53 +0100 (CET)
- Subject: Re: [RFA/testsuite/ada] Add test with function returning "small" array of floats
- References: <20061226055233.GK3640@adacore.com>
> Date: Tue, 26 Dec 2006 09:52:33 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> 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 <brobecker@adacore.com>
>
> * 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