From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67789 invoked by alias); 27 Sep 2017 17:08:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 67778 invoked by uid 89); 27 Sep 2017 17:08:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Sep 2017 17:08:49 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v8RH5SNP101645 for ; Wed, 27 Sep 2017 13:08:48 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2d8dt1geub-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Sep 2017 13:08:48 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Sep 2017 18:08:45 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 27 Sep 2017 18:08:44 +0100 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v8RH8haH16121858; Wed, 27 Sep 2017 17:08:43 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1F59542045; Wed, 27 Sep 2017 18:04:45 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0F4234203F; Wed, 27 Sep 2017 18:04:45 +0100 (BST) Received: from oc3748833570.ibm.com (unknown [9.152.213.178]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 27 Sep 2017 18:04:45 +0100 (BST) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id 9CD81D835F0; Wed, 27 Sep 2017 19:08:43 +0200 (CEST) Subject: Re: [RFC][02/19] Target FP: Simplify floatformat_from_type To: uweigand@de.ibm.com (Ulrich Weigand) Date: Wed, 27 Sep 2017 17:08:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, simon.marchi@polymtl.ca (Simon Marchi) In-Reply-To: <20170920163019.628D5D83593@oc3748833570.ibm.com> from "Ulrich Weigand" at Sep 20, 2017 06:30:19 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17092717-0012-0000-0000-0000057CB201 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17092717-0013-0000-0000-000018F603B7 Message-Id: <20170927170843.9CD81D835F0@oc3748833570.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-27_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709270236 X-SW-Source: 2017-09/txt/msg00836.txt.bz2 > ChangeLog: > > * doublest.h (floatformat_from_type): Move to gdbtypes.h. > * doublest.c (floatformat_from_type): Move to gdbtypes.c. > > * gdbtypes.h (union type_specific): Make field floatformat hold > just a single struct floatformat, not an array. > (floatformat_from_type): Move here. > * gdbtypes.c (floatformat_from_type): Move here. Update to > changed TYPE_FLOATFORMAT definition. > (verify_floatformat): Update to changed TYPE_FLOATFORMAT. > (recursive_dump_type): Likewise. > (init_float_type): Install correct floatformat for byte order. > (arch_float_type): Likewise. I've pushed this now. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com