Fix the "fake" frame that we create alongside the trapframe. This fixes
authorkettenis <kettenis@openbsd.org>
Tue, 12 Mar 2024 13:32:53 +0000 (13:32 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 12 Mar 2024 13:32:53 +0000 (13:32 +0000)
commitcfe0f9e1d1efc00397d62f06e6565f0f44121cd9
tree774dcc4d5e460df2cc3f164f875dd5aea761d8d0
parent5203e99ca49b54b998b6736b116b19a10d6dc20e
Fix the "fake" frame that we create alongside the trapframe. This fixes
backtraces through trap franes.  Adjust the code that prints backtraces
in ddb as the old code now tries to access a userland address.

ok mpi@
sys/arch/arm64/arm64/db_trace.c
sys/arch/arm64/arm64/exception.S