On arm64, the frame pointer points at the stack address where the frame
authorkettenis <kettenis@openbsd.org>
Sat, 17 Jun 2023 08:13:56 +0000 (08:13 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 17 Jun 2023 08:13:56 +0000 (08:13 +0000)
commit40bfbfe4a56c2bc88af796f98f288be76ff14e7f
tree6dc293b469367e29d5cfe723c355cb489f24ec69
parent41c70dd76d0fbd93164c65bf9f0b4c67e0f43b37
On arm64, the frame pointer points at the stack address where the frame
pointer of the previous frame has been stored.  The code in
db_stack_trace_print() got that wrong for the initial frame.

While there, remove a bogus comment and some unused #defines about the
layout of stack frames.

ok patrick@
sys/arch/arm64/arm64/db_trace.c