mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 15:54:57 +08:00
1. Get the value of sp from dump regs when an exception occurs, to avoid getting the value of fp from up_getsp and causing incomplete stack printing. 2. Determine which stack the value belongs to based on the value of SP to avoid false reports of stack overflow Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>