Limit unwinder symbol search to FUNC symbols
authorvisa <visa@openbsd.org>
Fri, 21 Jan 2022 16:39:56 +0000 (16:39 +0000)
committervisa <visa@openbsd.org>
Fri, 21 Jan 2022 16:39:56 +0000 (16:39 +0000)
commitdd91a1c802f49d3c38547d70c20359e8c79ae255
tree46a878077450f640684e80a88fc7dde39f28c9c7
parentffe4333aeace49a5e2e7356f831a9a55e645f174
Limit unwinder symbol search to FUNC symbols

The prolog scanning has to locate the start of the subroutine, not some
local symbol in the middle.

This should reduce cases where unwinding goes astray.

OK miod@
sys/arch/mips64/mips64/trap.c