From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11720 invoked by alias); 10 May 2006 12:43:17 -0000 Received: (qmail 11711 invoked by uid 22791); 10 May 2006 12:43:17 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 10 May 2006 12:43:14 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fdo24-0000a0-71; Wed, 10 May 2006 08:43:12 -0400 Date: Wed, 10 May 2006 13:06:00 -0000 From: Daniel Jacobowitz To: FERANDELLE Pascal Cc: gdb@sources.redhat.com Subject: Re: gcj/gdb in cross env Message-ID: <20060510124311.GA2186@nevyn.them.org> Mail-Followup-To: FERANDELLE Pascal , gdb@sources.redhat.com References: <445AFEE1.7203AA30@fr.thalesgroup.com> <17499.7466.139917.696459@zapata.pink> <44619479.C513021D@fr.thalesgroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44619479.C513021D@fr.thalesgroup.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00103.txt.bz2 On Wed, May 10, 2006 at 09:21:29AM +0200, FERANDELLE Pascal wrote: > I build gcc/gcj 4.1.0 in cross env for target powerpc-linux, and did the same for gdb 6.4. > > As I have a "Segmentation fault" with an HelloWorld program written > in Java, and compiled with powerpc-linux-gcj -g, I tried to launch > powerpc-linux-gdb on the exec file, but an error occurred : > > Dwarf Error : wrong version in compilation unit header (is 99, should be 2) [in module HelloWorld] I have not seen this. Does readelf -wi complain about the file also? -- Daniel Jacobowitz CodeSourcery