summaryrefslogtreecommitdiff
path: root/Kernel/Forward.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2020-11-06 10:09:51 +0200
committerAndreas Kling <kling@serenityos.org>2020-12-14 23:05:53 +0100
commitb4842d33bb9c8e96bed94ad78ef95f74871972a6 (patch)
treec5a32b712f398b670ea6b540dd32c3c3b013e5cc /Kernel/Forward.h
parentefe4da57dfc4d820062455f41fb5f16842268d40 (diff)
downloadserenity-b4842d33bb9c8e96bed94ad78ef95f74871972a6.zip
Kernel: Generate a coredump file when a process crashes
When a process crashes, we generate a coredump file and write it in /tmp/coredumps/. The coredump file is an ELF file of type ET_CORE. It contains a segment for every userspace memory region of the process, and an additional PT_NOTE segment that contains the registers state for each thread, and a additional data about memory regions (e.g their name).
Diffstat (limited to 'Kernel/Forward.h')
-rw-r--r--Kernel/Forward.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Forward.h b/Kernel/Forward.h
index 8dc4241e0d..d7cc3dfdd7 100644
--- a/Kernel/Forward.h
+++ b/Kernel/Forward.h
@@ -30,6 +30,7 @@ namespace Kernel {
class BlockDevice;
class CharacterDevice;
+class CoreDump;
class Custody;
class Device;
class DiskCache;