This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fix cross-endian DFP for GDB
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 <joseph@codesourcery.com>
> > >
> > > * 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