mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Minor debugging enhancement
Use raise(SIGTRAP) in failed SIGSEGV handling and return.
This commit is contained in:
parent
22a24446c1
commit
0892758994
1 changed files with 3 additions and 1 deletions
|
@ -1786,7 +1786,9 @@ static void signal_handler(int sig, siginfo_t* info, void* uct) noexcept
|
|||
|
||||
if (IsDebuggerPresent())
|
||||
{
|
||||
__asm("int3;");
|
||||
// Convert to SIGTRAP
|
||||
raise(SIGTRAP);
|
||||
return;
|
||||
}
|
||||
|
||||
report_fatal_error(msg);
|
||||
|
|
Loading…
Add table
Reference in a new issue