mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-30 05:05:10 +00:00
Kernel: Use the correct ip in the dispatch_signal debug output
The signal handler RegisterState is in 'regs', not 'm_regs'.
This commit is contained in:
parent
7b0553eb13
commit
75ccee81be
|
@ -1176,7 +1176,7 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
|
|||
regs.set_flags(2 | (regs.rflags & ~safe_eflags_mask));
|
||||
#endif
|
||||
|
||||
dbgln_if(SIGNAL_DEBUG, "Thread in state '{}' has been primed with signal handler {:p} to deliver {}", state_string(), m_regs.ip(), signal);
|
||||
dbgln_if(SIGNAL_DEBUG, "Thread in state '{}' has been primed with signal handler {:p} to deliver {}", state_string(), regs.ip(), signal);
|
||||
|
||||
return DispatchSignalResult::Continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue