This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Fix tests return2.exp/return.exp for 68HC11/HC12
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [RFA]: Fix tests return2.exp/return.exp for 68HC11/HC12
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Sun, 15 Jul 2001 22:05:50 -0400
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat Canada
- References: <3B515D75.224204B1@worldnet.fr>
Stephane Carrez wrote:
>
> Hi!
>
> The 68HC11/HC12 returns the 64-bit entities in memory (long long and double).
> The caller passes a hidden pointer as first argument, and the function is
> supposed to put the result in the memory area.
>
> At present, there is no way to know what is the address of the memory slot
> for the return value (this problem is not related to HC11 but concerns all
> targets that set RETURN_IN_MEMORY(TYPE) in GCC).
>
> The following patch marks the tests that try to 'return' values (long long
> and double) as failed for HC11, or don't execute the test for HC11.
>
> Can you approve this patch?
>
> Stephane
>
Yes, that is a XFAIL. Approved.
> 2001-07-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
>
> * gdb.base/return2.exp: return of long long and double fails for
> 68HC11; don't execute these tests on that platform.
> * gdb.base/return.exp: Return of a double fails for 68hc11.
>
> ------------------------------------------------------------------------
> Name: fix-return-test.diffs
> fix-return-test.diffs Type: Plain Text (text/plain)
> Encoding: 7bit
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9