Skip to content

Commit c265a39

Browse files
committed
fix typo
1 parent 6cbab87 commit c265a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/libraries/kernel/threads/exception.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void SigactionHandler(int native_signum, siginfo_t* inf, ucontext_t* raw_context
188188
ctx.uc_mcontext.mc_rsp = regs.__rsp;
189189
ctx.uc_mcontext.mc_fs = regs.__fs;
190190
ctx.uc_mcontext.mc_gs = regs.__gs;
191-
ctx.uc_mcontext.mc_gs = regs.__rip;
191+
ctx.uc_mcontext.mc_rip = regs.__rip;
192192
ctx.uc_mcontext.mc_addr = reinterpret_cast<uint64_t>(inf->si_addr);
193193
#else
194194
const auto& regs = raw_context->uc_mcontext.gregs;

0 commit comments

Comments
 (0)