[Kaffe] Illegal Instruction generated by kaffe JIT?

Archie Cobbs archie at whistle.com
Wed Mar 24 15:25:12 PST 1999


Moses DeJong writes:
> On Tue, 23 Mar 1999, Archie Cobbs wrote:
> > Moses DeJong writes:
> > > Has anyone run into an error like this before? I was running kaffe
> > > on a Solaris Sparc machine with the jit.
> > > 
> > > tcljava/FuncSig.test
> > > Illegal Instruction - core dumped
> > > make: *** [test_jacl.exec] Error 132
> > > 
> > > Program terminated with signal 4, Illegal Instruction.
> > > 
> > > #0  0xb2400 in ?? ()
> > > #1  0x3aa8e0 in ?? ()
> > > #2  0x832d58 in ?? ()
> > > #3  0xef4bec5c in callMethodV (meth=0xa22a2, func=0xc829c, obj=0x505048, args=0xefffe998, 
> > 
> > Try compiling kaffe like this:
> > 
> >   gmake all AM_CPPFLAGS=-DDEBUG
> 
> I recompiled with this flag set and ran kaffe under gdb but when I
> got the error it just printed the same stack trace as above. Is there
> something I am missing? Is there some kind of JIT debug mode that
> will print out what jit method I am in instead of ??.

Yes, you can copy the file developers/gdbinit to .gdbinit in the
directory your running kaffe in and use those macros.

Then you should be able to say "findNativeMethod 0x832d58" etc.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list