Kernel+LibC: Add a dump_backtrace() syscall.

This is very simple but already very useful. Now you're able to call to
dump_backtrace() from anywhere userspace to get a nice symbolicated
backtrace in the debugger output. :^)
This commit is contained in:
Andreas Kling 2019-07-21 09:59:17 +02:00
commit d2b521f0ab
Notes: sideshowbarker 2024-07-19 13:07:01 +09:00
6 changed files with 18 additions and 1 deletions

View file

@ -104,6 +104,7 @@ public:
void die();
void finalize();
int sys$dump_backtrace();
int sys$gettid();
int sys$donate(int tid);
int sys$shm_open(const char* name, int flags, mode_t);