mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:17:35 +00:00
Kernel+CrashReporter: Add metadata about page faults to crash reports
Crash reports for page faults now tell you what kind of memory access failed and where. :^)
This commit is contained in:
parent
e238435c4f
commit
0b8226811f
4 changed files with 27 additions and 2 deletions
|
@ -727,4 +727,9 @@ void Process::set_dumpable(bool dumpable)
|
|||
m_dumpable = dumpable;
|
||||
}
|
||||
|
||||
void Process::set_coredump_metadata(const String& key, String value)
|
||||
{
|
||||
m_coredump_metadata.set(key, move(value));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue