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: [RFA] arm_store_return_value, big-endian (take 2)


> Oh, I see.  Yes, it's no longer necessary.  But if it's not so hard, 
> and you already see what's necessary, why not just do it instead of
> ragging on me to do it?   ;-)
> 

Because I don't have a big-endian world in which I can test it.

> This what you have in mind?  Please just take it from here, I really
> didn't intend to spend this much time and energy on it.

Nope, now you've broken larger-than-word objects.

> 
> Index: arm-tdep.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/arm-tdep.c,v
> retrieving revision 1.74
> diff -p -r1.74 arm-tdep.c
> *** arm-tdep.c	1 Nov 2002 21:21:49 -0000	1.74
> --- arm-tdep.c	13 Nov 2002 19:48:21 -0000
> *************** arm_store_return_value (struct type *typ
> *** 2417,2424 ****
>   	  break;
>   	}
>       }
> !   else
> !     write_register_bytes (ARM_A1_REGNUM, valbuf, TYPE_LENGTH (type));
>   }
>   
>   /* Store the address of the place in which to copy the structure the
> --- 2417,2424 ----
>   	  break;
>   	}
>       }
> !   else 
> !     write_register (ARM_A1_REGNUM, unpack_long (type, valbuf);
>   }
>   
>   /* Store the address of the place in which to copy the structure the
> 



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