Use unguarded loads in stack trace saving
authorvisa <visa@openbsd.org>
Tue, 25 Jan 2022 07:10:19 +0000 (07:10 +0000)
committervisa <visa@openbsd.org>
Tue, 25 Jan 2022 07:10:19 +0000 (07:10 +0000)
commit28abd37ba5d071039fb5c5b4f5e30a3e62929c08
tree04120b7a41a92c94b2c361ad72027e1f0727f7de
parent3062660c51e4d56dc5e3221863c0fed90b27e1c7
Use unguarded loads in stack trace saving

The stack trace saver should see a system state that is not broken.
Therefore use unguarded memory accesses.

However, the unwinder is still haphazard. Terminate immediately if
the program counter or stack pointer look inconsistent.
sys/arch/mips64/mips64/trap.c