From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13815 invoked by alias); 11 Jun 2003 07:49:31 -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 13745 invoked from network); 11 Jun 2003 07:49:30 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 11 Jun 2003 07:49:30 -0000 Received: by zenia.home (Postfix, from userid 5433) id BFCEE20FE6; Wed, 11 Jun 2003 02:50:42 -0500 (EST) To: gdb-patches@sources.redhat.com Subject: [ppc64-linux]: specify size of long double on PPC64 Linux From: Jim Blandy Date: Wed, 11 Jun 2003 07:49:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00355.txt.bz2 2003-06-11 Jim Blandy * ppc-linux-tdep.c (ppc_linux_init_abi): long doubles are 16 bytes long. Index: gdb/ppc-linux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v retrieving revision 1.28.8.13 diff -c -r1.28.8.13 ppc-linux-tdep.c *** gdb/ppc-linux-tdep.c 10 Jun 2003 18:00:30 -0000 1.28.8.13 --- gdb/ppc-linux-tdep.c 11 Jun 2003 06:43:41 -0000 *************** *** 1027,1032 **** --- 1027,1034 ---- if (tdep->wordsize == 8) { + set_gdbarch_long_double_bit (gdbarch, 16 * TARGET_CHAR_BIT); + set_gdbarch_call_dummy_address (gdbarch, ppc64_call_dummy_address); set_gdbarch_in_solib_call_trampoline