alignment problem ?
inaba at src.ricoh.co.jp
Sat Jul 18 02:44:50 PDT 1998
>It seems that Java long (long long) are expected to be aligned to 8 bytes,
>Anybody can think of where I should look ?
OK, I got similar problem on m68k. You have to check
resolveObjectFields in kaffe/kaffevm/classMethod.c and if
alignment calculation in this function is funny, you can
define new ALIGNMENT_OF_SIZE macro in 'md.h'.
You can check the result to set bp when getfield or putfield
are executed (which are handled in 'kaffe/kaffevm/kaffe.def')
and the address of field in structure.
More information about the kaffe