Alexandre Oliva wrote: | > Going back to the m68k/netbsd1.3.1 issue, when I made modification to | > 'config/m68k/trampolines.c' as the patch attached, the test script | > starts to work. | | Can anyone think of any reason for not installing it? I am not sure of the difference between static and shared libraries, as far as the trampoline patch goes. I modified the trampoline code to remove the #ifdef, so that static and dynamically linked trampolines worked the same way. As far as I can tell, my m68k machine is jumping correctly through those trampolines, because it successfully makes it to soft_fixup_trampoline(). | > But when this test script fails for compiling, and the error is | > assertion "cc != 0" failed: file "../../../kaffe-snap/kaffe/kaffevm/support.c", line 169 | | > This assertion fail means lookupClass fail at some point. But the | > core file I get by this assertion fail is not accepted by gdb, and | > I can get backtrace of it... As someone (Godmar?) pointed out earlier, this is due to the static initializer for java.lang.Runtime failing for some reason. This is awkward to debug with GDB at best, since the JIT stack frames are not compatible with GDB. Also, GDB cannot correlate the stack frames with any source code. However, I can always read the core file using gdb.