From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8610 invoked by alias); 10 Jun 2003 21:40:24 -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 8593 invoked from network); 10 Jun 2003 21:40:23 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 10 Jun 2003 21:40:23 -0000 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 7AC2480001E for ; Tue, 10 Jun 2003 17:40:22 -0400 (EDT) Message-ID: <3EE65046.8020208@redhat.com> Date: Tue, 10 Jun 2003 21:40:00 -0000 From: "J. Johnston" Organization: Red Hat Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [RFA]: fix for sizeof operator for ia64 Content-Type: multipart/mixed; boundary="------------060806060103090901010203" X-SW-Source: 2003-06/txt/msg00340.txt.bz2 This is a multi-part message in MIME format. --------------060806060103090901010203 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 270 The attached patch fixes the number of bits for a ia64 long double. This fixes the sizeof.exp testcase in gdb.base. Ok to commit? -- Jeff J. 2003-06-10 Jeff Johnston * ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128. --------------060806060103090901010203 Content-Type: text/plain; name="ia64-tdep.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ia64-tdep.patch" Content-length: 644 Index: ia64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ia64-tdep.c,v retrieving revision 1.83 diff -u -p -r1.83 ia64-tdep.c --- ia64-tdep.c 9 Jun 2003 17:35:57 -0000 1.83 +++ ia64-tdep.c 10 Jun 2003 21:19:07 -0000 @@ -2243,7 +2243,7 @@ ia64_gdbarch_init (struct gdbarch_info i set_gdbarch_long_long_bit (gdbarch, 64); set_gdbarch_float_bit (gdbarch, 32); set_gdbarch_double_bit (gdbarch, 64); - set_gdbarch_long_double_bit (gdbarch, 64); + set_gdbarch_long_double_bit (gdbarch, 128); set_gdbarch_ptr_bit (gdbarch, 64); set_gdbarch_num_regs (gdbarch, ia64_num_regs); --------------060806060103090901010203--