This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix Power soft-float DFP function call handling
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 26 Jun 2008 09:45:20 -0400
- Subject: Re: Fix Power soft-float DFP function call handling
- References: <Pine.LNX.4.64.0806110022100.28274@digraph.polyomino.org.uk>
On Wed, Jun 11, 2008 at 12:24:08AM +0000, Joseph S. Myers wrote:
> This patch fixes decimal floating-point function call and return
> handling for soft-float Power, changing the following FAILs to PASSes
> in testing for powerpc-linux-gnu. OK to commit?
>
> FAIL: gdb.base/dfp-test.exp: Backtrace function with correct _Decimal64 arguments.
> FAIL: gdb.base/dfp-test.exp: Correct _Decimal64 return value from called function.
> FAIL: gdb.base/dfp-test.exp: Backtrace function with correct _Decimal128 arguments.
> FAIL: gdb.base/dfp-test.exp: Correct _Decimal128 return value from called function.
> FAIL: gdb.base/dfp-test.exp: Call function with mixed decimal float arguments TEST.
> FAIL: gdb.base/dfp-test.exp: Call function with mixed decimal float arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many _Decimal64 arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many _Decimal128 arguments.
> FAIL: gdb.base/dfp-test.exp: Call function with many mixed decimal float arguments.
>
> 2008-06-10 Joseph Myers <joseph@codesourcery.com>
>
> * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle passing
> decimal floating-point values in GPRs for soft-float.
> (do_ppc_sysv_return_value): Handle returning decimal
> floating-point values in GPRs for soft-float.
OK.
--
Daniel Jacobowitz
CodeSourcery