From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4867 invoked by alias); 9 Aug 2004 13:58:49 -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 4860 invoked from network); 9 Aug 2004 13:58:48 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 9 Aug 2004 13:58:48 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i79Dwle3001283 for ; Mon, 9 Aug 2004 09:58:48 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i79Dwia11602; Mon, 9 Aug 2004 09:58:44 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B184E2B9D; Sun, 8 Aug 2004 17:24:26 -0400 (EDT) Message-ID: <41169A0A.1020508@gnu.org> Date: Mon, 09 Aug 2004 13:58:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Add BE/LE floating-point type & format tables References: <4116617A.8010601@gnu.org> <200408081951.i78JpTxK005673@elgar.kettenis.dyndns.org> In-Reply-To: <200408081951.i78JpTxK005673@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00306.txt.bz2 > You'd better do that because right now I don't see where this is > heading. My original post gave one example, here's another: static struct type * mips_float_register_type (void) { if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) return builtin_type_ieee_single_big; else return builtin_type_ieee_single_little; } Is all over the place. This: builtin_type_ieee_single[gdbarch_byte_order (gdbarch)] is shorter and correct. > Anyway, could we rename floatformat_ia64_quad to > floatformat_ieee_quad. There are quite a few systems out there that > use or will be using the same format, and I believe i will be in a new > revision of the official IEEE standard for it. > local to gdb? Andrew