This is the mail archive of the
mailing list for the GDB project.
Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_DEFAULT
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 20 Jan 2002 15:33:12 -0500
- Subject: Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_DEFAULT
- References: <3C4B2817.email@example.com>
On Sun, Jan 20, 2002 at 03:27:03PM -0500, Andrew Cagney wrote:
> Per discussion on TARGET_BYTE_ORDER_SELECTABLE. This patch removes
> 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.
> 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)
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