This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PA fixes for return2.exp
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: law at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 19 Dec 2001 18:55:26 +0000
- Subject: Re: PA fixes for return2.exp
- References: <21842.1008785818@porcupine.cygnus.com>
> This patch fixes the assorted failures in return2.exp. In a nutshell, for
> sub-word return types, we stored the return value into the wrong location
> in the register array.
>
> This patch makes STORE_RETURN_VALUE act like EXTRACT_RETURN_VALUE and fixes
> the return2.exp failures.
>
> * tm-hppa.h (STORE_RETURN_VALUE): Update to deal with sub-word
> return types.
Can you please first convert the macro to a function (such 1 by 1 conversions are considered obvious).
After that the change is fine.
Andrew