This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA]: Fix tests return2.exp/return.exp for 68HC11/HC12


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


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