mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 13:37:18 +00:00
arch/arm64: Fixed arm64 backtrace support for other processes
Signed-off-by: wangming9 <wangming9@xiaomi.com>
This commit is contained in:
parent
319e8d66f6
commit
f4e33e488d
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ int up_backtrace(struct tcb_s *tcb,
|
|||
else
|
||||
{
|
||||
flags = enter_critical_section();
|
||||
p_regs = (struct regs_context *)CURRENT_REGS;
|
||||
p_regs = (struct regs_context *)tcb->xcp.regs;
|
||||
|
||||
ret = backtrace(tcb->stack_base_ptr,
|
||||
tcb->stack_base_ptr + tcb->adj_stack_size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue