Ignore:
Timestamp:
2018-03-11T19:39:11Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/debug/stacktrace.c

    r850fd32 r84239b1  
    159159
    160160                        /* Seek to the end of this function. */
    161                         for (cur = inst + 1; !IS_JR_RA(*cur); cur++)
    162                                 ;
     161                        cur = inst + 1;
     162                        while (!IS_JR_RA(*cur))
     163                                cur++;
     164
    163165                        /* Scan the last basic block */
    164166                        for (cur--; !is_jump(*(cur - 1)); cur--) {
Note: See TracChangeset for help on using the changeset viewer.