Lines Matching +full:- +full:- +full:build
1 // SPDX-License-Identifier: GPL-2.0
44 return gd->start_addr_sp - (CONFIG_SYS_STACK_SIZE / 2); in read_sp()
49 ulong fp = frame->fp; in walk_stackframe()
51 if (fp > gd->start_addr_sp || in walk_stackframe()
52 fp < gd->start_addr_sp - CONFIG_SYS_STACK_SIZE) in walk_stackframe()
55 frame->sp = fp + 0x10; in walk_stackframe()
56 frame->fp = *(ulong *)(fp); in walk_stackframe()
57 frame->pc = *(ulong *)(fp + 8); in walk_stackframe()
67 char *build = "tpl"; in dump_core_stack() local
69 char *build = "spl"; in dump_core_stack() local
71 char *build = ""; in dump_core_stack() local
74 frame.fp = regs->regs[29]; in dump_core_stack()
75 frame.sp = regs->sp; in dump_core_stack()
76 frame.pc = regs->elr; in dump_core_stack()
78 if (gd->flags & GD_FLG_RELOC) { in dump_core_stack()
79 pc = (ulong)frame.pc - gd->reloc_off; in dump_core_stack()
80 lr = (ulong)regs->regs[30] - gd->reloc_off; in dump_core_stack()
83 lr = (ulong)regs->regs[30]; in dump_core_stack()
92 if (gd->flags & GD_FLG_RELOC) in dump_core_stack()
93 pc = (ulong)frame.pc - gd->reloc_off; in dump_core_stack()
101 "command in your U-Boot project: " in dump_core_stack()
102 "./scripts/stacktrace.sh dump.txt %s\n\n", build); in dump_core_stack()