From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1187 invoked by alias); 4 Dec 2001 01:41:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1164 invoked from network); 4 Dec 2001 01:41:21 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 4 Dec 2001 01:41:21 -0000 Received: from redhat.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA03133 for ; Mon, 3 Dec 2001 17:41:19 -0800 (PST) Message-ID: <3C0C1A14.58B9D2E9@redhat.com> Date: Mon, 03 Dec 2001 17:41:00 -0000 From: Jackie Smith Cashion X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: GDB Patches Subject: RFA: d10v sizeof (long long) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00073.txt.bz2 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 * 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);