This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI regression Fri Oct 23 01:57:01 UTC 2009


On Friday 23 October 2009 17:00:20, Michael Snyder wrote:
> Pierre Muller wrote:
> > Is there a valid reason to use LITTLE_ENDIAN rather than
> > BFD_LITTLE_ENDIAN as required by the ARI rule:
> > 
> > LITTLE ENDIAN?3???????Do not use LITTLE_ENDIAN, instead use
> > BFD_ENDIAN_LITTLE
> > See:
> > http://sourceware.org/gdb/current/ari/
> > 
> > Pierre Muller
> > as ARI "maintainer"
> 
> 
> Thanks Pierre. ?Checked in as obvious.

No, this is wrong.  BYTE_ORDER isn't available on all hosts, and
even if it did, its values surely don't match enum bfd_endian...

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]