Changeset 8565a42 in mainline for kernel/arch/mips32/src/debug
- Timestamp:
- 2018-03-02T20:34:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
-
kernel/arch/mips32/src/debug/stacktrace.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debug/stacktrace.c
r3061bc1 r8565a42 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.
