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]
Other format: [Raw text]

Re: PA fixes for return2.exp


> 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


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