Changes in kernel/arch/mips32/src/debug/stacktrace.c [1b20da0:a35b458] in mainline
- File:
-
- 1 edited
-
kernel/arch/mips32/src/debug/stacktrace.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debug/stacktrace.c
r1b20da0 ra35b458 157 157 * We have a candidate for frame pointer. 158 158 */ 159 159 160 160 /* Seek to the end of this function. */ 161 161 for (cur = inst + 1; !IS_JR_RA(*cur); cur++) … … 170 170 continue; 171 171 } 172 172 173 173 if (IS_JR_RA(*inst)) { 174 174 if (!ctx->istate) … … 189 189 } while ((!IS_ADDIU_SP_SP_IMM(*inst) && !IS_ADDI_SP_SP_IMM(*inst)) || 190 190 (IMM_GET(*inst) >= 0)); 191 191 192 192 /* 193 193 * We are at the instruction which allocates the space for the current … … 210 210 if (base == SP || (has_fp && base == fp)) { 211 211 uint32_t *addr = (void *) (ctx->fp + offset); 212 212 213 213 if (offset % 4 != 0) 214 214 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
