mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +00:00
UserspaceEmulator: Print stacktrace for unhandled exceptions
This commit is contained in:
parent
b731db6691
commit
03d705d531
1 changed files with 1 additions and 0 deletions
|
@ -424,6 +424,7 @@ void Emulator::dispatch_one_pending_signal()
|
||||||
if (action == DefaultSignalAction::Ignore)
|
if (action == DefaultSignalAction::Ignore)
|
||||||
return;
|
return;
|
||||||
reportln("\n=={}== Got signal {} ({}), no handler registered", getpid(), signum, strsignal(signum));
|
reportln("\n=={}== Got signal {} ({}), no handler registered", getpid(), signum, strsignal(signum));
|
||||||
|
dump_backtrace();
|
||||||
m_shutdown = true;
|
m_shutdown = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue