From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30111 invoked by alias); 20 Jan 2002 20:48:41 -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 29971 invoked from network); 20 Jan 2002 20:48:39 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 20 Jan 2002 20:48:39 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id E726F3F0A; Sun, 20 Jan 2002 15:48:38 -0500 (EST) Message-ID: <3C4B2D26.2030607@cygnus.com> Date: Sun, 20 Jan 2002 12:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_DEFAULT References: <3C4B2817.6030205@cygnus.com> <20020120153312.A28452@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00596.txt.bz2 > 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? BTW, what is an armv5b-elf? As far as I can tell, GDB treats arm*-elf as straight ARM. Anyway, I suspect it will come up little endian. It would have been doing that before the change. Andrew PS: *** BFD does not support target armv5b-unknown-elf. *** Look in bfd/config.bfd for supported targets.