This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gcj/gdb in cross env
- From: Daniel Jacobowitz <drow at false dot org>
- To: FERANDELLE Pascal <pascal dot ferandelle at fr dot thalesgroup dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 10 May 2006 08:43:12 -0400
- Subject: Re: gcj/gdb in cross env
- References: <445AFEE1.7203AA30@fr.thalesgroup.com> <17499.7466.139917.696459@zapata.pink> <44619479.C513021D@fr.thalesgroup.com>
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