[RFA/testsuite/ada] Add test with function returning "small" array of floats
Mark Kettenis
kettenis@sibelius.xs4all.nl
Tue Dec 26 14:07:00 GMT 2006
> 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
More information about the Gdb-patches
mailing list