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: d10v sizeof (long long)



Approved.

Jackie Smith Cashion <jsmith@redhat.com> writes:

> 
> The following patch changes the size of the d10v long long from 4 to 8
> to agree with the d10v gcc.
> 
> 
> 2001-12-03  Jackie Smith Cashion  <jsmith@redhat.com>
> 
> 	* d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes.
> 
> 
> *** d10v-tdep.c.orig	Mon Dec  3 18:26:23 2001
> --- d10v-tdep.c	Mon Dec  3 18:26:29 2001
> *************** d10v_gdbarch_init (struct gdbarch_info i
> *** 1524,1530 ****
>     set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> !   set_gdbarch_long_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
>     /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
>        double'' is 64 bits. */
>     set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> --- 1524,1530 ----
>     set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
>     set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> !   set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT);
>     /* NOTE: The d10v as a 32 bit ``float'' and ``double''. ``long
>        double'' is 64 bits. */
>     set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT);
> 


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