This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite/ada] Add test with function returning "small" array of floats


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]