--- qemu/linux-user/mips/target_signal.h 2018/04/24 16:48:15 1.1 +++ qemu/linux-user/mips/target_signal.h 2018/04/24 16:52:07 1.1.1.2 @@ -23,7 +23,7 @@ typedef struct target_sigaltstack { static inline abi_ulong get_sp_from_cpustate(CPUMIPSState *state) { - return state->gpr[29][state->current_tc]; + return state->active_tc.gpr[29]; } #endif /* TARGET_SIGNAL_H */