mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
Kernel/SMP: Skip thread registers in core dump if there is no trap frame
We can only get thread registers if there's a trap frame.
This commit is contained in:
parent
9babb92a4b
commit
364134ad4b
2 changed files with 4 additions and 1 deletions
|
@ -1147,6 +1147,7 @@ public:
|
|||
}
|
||||
|
||||
TrapFrame*& current_trap() { return m_current_trap; }
|
||||
TrapFrame const* const& current_trap() const { return m_current_trap; }
|
||||
|
||||
RecursiveSpinLock& get_lock() const { return m_lock; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue