From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1308 invoked by alias); 6 Feb 2004 01:03:35 -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 1301 invoked from network); 6 Feb 2004 01:03:34 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 6 Feb 2004 01:03:34 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 5C20314AC5E; Fri, 6 Feb 2004 02:03:34 +0100 (CET) Received: by sykes.suse.de (Postfix, from userid 597) id 21AAD15CB2EF2; Fri, 6 Feb 2004 02:03:34 +0100 (CET) To: J K Cc: gdb@sources.redhat.com Subject: Re: gdb print /x always big endian order? References: <20040205180043.68640.qmail@web13509.mail.yahoo.com> From: Andreas Schwab X-Yow: My uncle Murray conquered Egypt in 53 B.C. And I can prove it too!! Date: Fri, 06 Feb 2004 01:03:00 -0000 In-Reply-To: <20040205180043.68640.qmail@web13509.mail.yahoo.com> (J. K.'s message of "Thu, 5 Feb 2004 10:00:42 -0800 (PST)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-02/txt/msg00052.txt.bz2 J K writes: > It seems in GNU gdb Red Hat Linux (5.1-1) when > I do a print /x the order is Big Endian regardless > of the host architecture. The print command just prints a value, and values don't have endianess. Only memory contents have. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."