From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14103 invoked by alias); 20 Jan 2002 18:33:39 -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 14071 invoked from network); 20 Jan 2002 18:33:39 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 20 Jan 2002 18:33:39 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 351043F0A; Sun, 20 Jan 2002 13:33:29 -0500 (EST) Message-ID: <3C4B0D79.4070005@cygnus.com> Date: Sun, 20 Jan 2002 10:33: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_SELECTABLE References: <3C490B0C.6090601@cygnus.com> <20020119094718.A1404@nevyn.them.org> <3C49A566.1060508@cygnus.com> <20020119120032.A19415@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00576.txt.bz2 > > 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_*. Delete it :-) As Michael observed, if the code is written correctly it works from day one. (Problem is it has taken ~10 years to figure out how to correctly write the code :-) Oh, if you think that is neat, just wait until someone adds byte-order information to ``struct type''. As it is, gdb knows about the byte order of certain floating-point types. :-) enjoy, Andrew