From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19697 invoked by alias); 27 Jun 2008 20:08:46 -0000 Received: (qmail 19684 invoked by uid 22791); 27 Jun 2008 20:08:46 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 27 Jun 2008 20:08:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3EA0698366; Fri, 27 Jun 2008 20:08:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0416F98337; Fri, 27 Jun 2008 20:08:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KCKF5-00085p-1s; Fri, 27 Jun 2008 16:08:23 -0400 Date: Fri, 27 Jun 2008 20:47:00 -0000 From: Daniel Jacobowitz To: "Joseph S. Myers" Cc: gdb-patches@sourceware.org Subject: Re: Fix cross-endian DFP for GDB Message-ID: <20080627200823.GA31057@caradoc.them.org> Mail-Followup-To: "Joseph S. Myers" , gdb-patches@sourceware.org References: <20080627175141.GA9226@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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 X-SW-Source: 2008-06/txt/msg00520.txt.bz2 On Fri, Jun 27, 2008 at 07:57:34PM +0000, Joseph S. Myers wrote: > On Fri, 27 Jun 2008, Daniel Jacobowitz wrote: > > > On Fri, Jun 27, 2008 at 05:40:45PM +0000, Joseph S. Myers wrote: > > > 2008-06-27 Joseph Myers > > > > > > * dfp.c (decimal_convert): Call match_endianness before and after > > > conversion. > > > > Does promote_decimal have the same problem? > > Both callers of promote_decimal call match_endianness beforehand. Thus > the promote_decimal interface is that it uses host endianness. Patch is OK then. -- Daniel Jacobowitz CodeSourcery