1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 17:25:07 +00:00

Kernel: Simplify dump_backtrace() API for clients.

It makes no sense that clients had to worry about whether or not KSyms
were loaded.
This commit is contained in:
Andreas Kling 2019-05-16 13:41:16 +02:00
parent 7a2da54c07
commit 2f4e7edee5
6 changed files with 10 additions and 11 deletions

View file

@ -642,7 +642,7 @@ void Process::sys$exit(int status)
kprintf("sys$exit: %s(%u) exit with status %d\n", name().characters(), pid(), status);
#endif
dump_backtrace(ksyms_ready);
dump_backtrace();
m_termination_status = status;
m_termination_signal = 0;