This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj/gdb in cross env
- From: Andrew Haley <aph at redhat dot com>
- To: FERANDELLE Pascal <pascal dot ferandelle at fr dot thalesgroup dot com>
- Cc: "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>
- Date: Fri, 5 May 2006 10:38:50 +0100
- Subject: Re: gcj/gdb in cross env
- References: <445AFEE1.7203AA30@fr.thalesgroup.com>
FERANDELLE Pascal writes:
> 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 don't understand this.
You're not telling us what you are doing. Where is gdb running? On
the host or the target?
If we're going to be of any use to you, you must post full information
about what you are doing.
Andrew.