This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: d10v sizeof (long long)
- From: Jackie Smith Cashion <jsmith at redhat dot com>
- To: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Mon, 03 Dec 2001 18:34:28 -0600
- Subject: RFA: d10v sizeof (long long)
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);