This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch/rfc] Eliminate TARGET_BYTE_ORDER_DEFAULT


On Sun, Jan 20, 2002 at 03:27:03PM -0500, Andrew Cagney wrote:
> Per discussion on TARGET_BYTE_ORDER_SELECTABLE.  This patch removes
> TARGET_BYTE_ORDER_DEFAULT.
> 
> I suspect the patch also fixes a bug in the non-multi-arch code (Daniel
> J's prodding made me revisit it).  Unlike the multi-arch case,
> the non-multi-arch code wasn't updating target_byte_order with the
> byte-order determined from BFD.
> 
> I'll leave this one for a few days.
> 
> Andrew
> 
> PS, the arm still comes up little endian:
> 
> ac131313@nettle$ ./gdb/gdb
> GNU gdb 2002-01-20-cvs
> (gdb) show endian
> The target endianness is set automatically (currently little endian)
> (gdb)

Could you see what happens if you build an armv5b-elf toolchain?  Does
it default to big endian correctly?

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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