Changeset a35b458 in mainline for kernel/arch/mips32/src/debug/stacktrace.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debug/stacktrace.c
r3061bc1 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.