Re: SableVM on ARM fails to run HelloWorld

"Grzegorz B. Prokopski" <[email protected]> Thu, 24 Nov 2005 18:51:31 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Organization SableVM Project http://sablevm.org
Message-ID <20051124235130.GQ9502@gadek>
Hi Chris,

All you did looks all right to me, so we should be nailing the problem now.

A question.  If you compile the same SableVM sources on another architecture,
say x86, does this HelloWorld.class file work?  If yes, then we're seeing an
architecture specific problem here.  Please verify that, but for the rest of
this email I assume the answer would be 'yes'.

In such case I think our class file parser has an architecture-specific
problem, most probably related to endianness.  The best way to figure out
what's going on is to debug SableVM and find the exact test that fails.  You
want to set a breakpoint somewhere in class_file_parser.c, most probably
_svmh_parse_class_file function is a good start.  If you don't have a
debugger you can use printfs.  Just put a few and check what is the last one
you see, then narrow down your area, and repeat.

HTH,

		Grzegorz B. Prokopski

-- 
Grzegorz B. Prokopski      <[email protected]>
Debian GNU/Linux           http://www.debian.org
SableVM - LGPL'ed Java VM  http://www.sablevm.org
Why SableVM ?!?            http://devel.sablevm.org/wiki/Features