From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21639 invoked by alias); 21 Nov 2003 16:31:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21632 invoked from network); 21 Nov 2003 16:31:01 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 21 Nov 2003 16:31:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 943182B8F; Fri, 21 Nov 2003 11:30:58 -0500 (EST) Message-ID: <3FBE3DC2.8030007@redhat.com> Date: Fri, 21 Nov 2003 16:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Phil Edwards , Richard Earnshaw Cc: gdb@sources.redhat.com Subject: Re: Your change breaks GDB for ARM References: <20031121075532.GA13535@disaster.jaj.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00198.txt.bz2 A not so trivial find/grep shows: cagney@nettle$ frep target_byte_order arch-utils.c:376:/* ``target_byte_order'' is only used when non- multi-arch. arch-utils.c:383:static int target_byte_order = BFD_ENDIAN_BIG; arch-utils.c:384:static int target_byte_order_auto = 1; arch-utils.c:389: if (target_byte_order_auto) arch-utils.c:392: return target_byte_order; arch-utils.c:412: if (target_byte_order_auto) arch-utils.c:425: target_byte_order_auto = 1; arch-utils.c:430: target_byte_order_auto = 0; arch-utils.c:439: target_byte_order_auto = 0; arch-utils.c:730: && !target_byte_order_auto which are all perfectly fine. As for: remote-rdp.c:355: target_byte_order = BFD_ENDIAN_LITTLE; remote-rdp.c:359: target_byte_order = BFD_ENDIAN_BIG; oops, missed them. I guess I could #ifdef them out (richard?). Those assignments haven't done anything useful since 2002-02-08 when the arm became multi-arch partial. Andrew