diff -r 9fdcc78b5398 -r 6b077f0ef25d hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp --- a/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Tue Dec 08 05:50:46 2015 -0800 +++ b/hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp Tue Dec 08 11:36:16 2015 -0800 @@ -27,6 +27,7 @@ #include "classfile/classLoader.hpp" #include "classfile/systemDictionary.hpp" #include "classfile/vmSymbols.hpp" +#include "code/codeCache.hpp" #include "code/icBuffer.hpp" #include "code/vtableStubs.hpp" #include "interpreter/interpreter.hpp" @@ -347,9 +348,9 @@ } void os::Linux::ucontext_set_pc(ucontext_t* uc, address pc) { - sigcontext_t* ctx = (sigcontext_t*) uc; - SIG_PC(ctx) = (intptr_t)addr; - SIG_NPC(ctx) = (intptr_t)(addr+4); + sigcontext* ctx = (sigcontext*) uc; + SIG_PC(ctx) = (intptr_t)pc; + SIG_NPC(ctx) = (intptr_t)(pc+4); } intptr_t* os::Linux::ucontext_get_sp(ucontext_t *uc) { @@ -695,6 +696,7 @@ VMError::report_and_die(t, sig, pc, info, ucVoid); ShouldNotReachHere(); + return false; } void os::Linux::init_thread_fpu_state(void) {