This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix cross-endian DFP for GDB
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 27 Jun 2008 13:51:41 -0400
- Subject: Re: Fix cross-endian DFP for GDB
- References: <Pine.LNX.4.64.0806271739370.20407@digraph.polyomino.org.uk>
On Fri, Jun 27, 2008 at 05:40:45PM +0000, Joseph S. Myers wrote:
> 2008-06-27 Joseph Myers <joseph@codesourcery.com>
>
> * dfp.c (decimal_convert): Call match_endianness before and after
> conversion.
Does promote_decimal have the same problem?
I'm wondering why the calls can't go in decimal_to_number /
decimal_from_number... (resp. decimal_to_string).
--
Daniel Jacobowitz
CodeSourcery