From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32643 invoked by alias); 19 Jan 2002 17:00:55 -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 32602 invoked from network); 19 Jan 2002 17:00:51 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 19 Jan 2002 17:00:51 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16Ryr2-00054n-00; Sat, 19 Jan 2002 12:00:32 -0500 Date: Sat, 19 Jan 2002 09:00:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_SELECTABLE Message-ID: <20020119120032.A19415@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <3C490B0C.6090601@cygnus.com> <20020119094718.A1404@nevyn.them.org> <3C49A566.1060508@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C49A566.1060508@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00531.txt.bz2 On Sat, Jan 19, 2002 at 11:57:10AM -0500, Andrew Cagney wrote: > > > Ah, but we live in dangerous times :-) > > TARGET_BYTE_ORDER_SELECTABLE, TARGET_BYTE_ORDER_SELECTABLE_P and even > TARGET_BYTE_ORDER_DEFAULT are all there just to prop up old pre- > multi-arch targets. They are not used by a multi-arch GDB. > > All multi-arch architectures allow both big and little byte orders > (regardless of what the spec says). This lets the user do things like: > > (gdb) print network_structure > (gdb) set endian big > (gdb) print network_structure Woah! That's neat! I need to remember that :) And I suppose I of all people shouldn't be griping about allowing more endianness choices. I have a patch here to support big-endian ARM/Linux. All I did was change TARGET_BYTE_ORDER_*. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer