From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20335 invoked by alias); 20 Jan 2002 20:33:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20292 invoked from network); 20 Jan 2002 20:33:10 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 20 Jan 2002 20:33:10 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16SOeO-0007Sn-00; Sun, 20 Jan 2002 15:33:12 -0500 Date: Sun, 20 Jan 2002 12:33:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_DEFAULT Message-ID: <20020120153312.A28452@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <3C4B2817.6030205@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C4B2817.6030205@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00594.txt.bz2 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