From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3740 invoked by alias); 23 Nov 2003 10:48:33 -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 3733 invoked from network); 23 Nov 2003 10:48:28 -0000 Received: from unknown (HELO disaster.jaj.com) (24.123.75.82) by sources.redhat.com with SMTP; 23 Nov 2003 10:48:28 -0000 Received: from disaster.jaj.com (localhost.localhost [127.0.0.1]) by disaster.jaj.com (8.12.10/8.12.9) with ESMTP id hANAmDhM031398; Sun, 23 Nov 2003 05:48:13 -0500 Received: (from phil@localhost) by disaster.jaj.com (8.12.10/8.12.9/Submit) id hANAmDgW031397; Sun, 23 Nov 2003 05:48:13 -0500 Date: Sun, 23 Nov 2003 10:48:00 -0000 From: Phil Edwards To: Andrew Cagney Cc: Richard Earnshaw , gdb@sources.redhat.com Subject: Re: Your change breaks GDB for ARM Message-ID: <20031123104812.GA31058@disaster.jaj.com> References: <200311211649.hALGnRt02516@pc960.cambridge.arm.com> <3FBE53A9.10407@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FBE53A9.10407@redhat.com> User-Agent: Mutt/1.5.4i X-SW-Source: 2003-11/txt/msg00222.txt.bz2 On Fri, Nov 21, 2003 at 01:04:25PM -0500, Andrew Cagney wrote: > Try the attached. It warns the user of the conflict and points them at > "set endian" for how to change it. The other alternative is to force > the endianess based on what the target indicates, but as you note, that > could lead to interesting conflicts. Since I'm not doing any remote debugging (at the present time), I can't actually test this patch. At any rate, thank you for ifdefing out the offending code; it builds for arm-elf now. -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan