From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1306 invoked by alias); 6 Nov 2002 20:11:45 -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 1299 invoked from network); 6 Nov 2002 20:11:43 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 6 Nov 2002 20:11:43 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id D4BC0D2CC8; Wed, 6 Nov 2002 12:14:25 -0800 (PST) Date: Wed, 06 Nov 2002 12:11:00 -0000 From: Joel Brobecker To: "Trant, Bert" Cc: "'gdb@sources.redhat.com'" Subject: Re: Problems running GDB-5.1. Message-ID: <20021106201425.GX5164@gnat.com> References: <72222DC86846D411ABD300A0C9EB08A1030613B4@csoc-mail-box.csoconline.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <72222DC86846D411ABD300A0C9EB08A1030613B4@csoc-mail-box.csoconline.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-11/txt/msg00062.txt.bz2 > I recieve the following warning message: > > warning: big endian file does not match little endian target. Did you compile GDB with GCC or the Tru64 C compiler? If you compiled with GCC, you may have run into the same problem as I did. I fixed it by compiling with -D__digital__: make CC=gcc CFLAGS="-O2 -D__digital__" What happens is that GCC picks up the wrong definitions for the structure of the core file if this macro is not defined. So the layout of the data does not match and we end up reading some garbage. Hence the bizarre messages. -- Joel