Changeset 0c39b96 in mainline for kernel/arch/mips32/src/debug


Ignore:
Timestamp:
2010-09-03T21:46:30Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
343f2b7e
Parents:
20235a3
Message:

If possible, print stack also with the mips32 trap frame and frames preceding
the trap. Currently, the stack tracer handles well only the most friendly cases,
but it stops tracing when the trap frame was inserted from a leaf-optimised
function. This is partly due to the fact that we are using a simplified
disassembling stack tracer and also because the stack trace printed from
panic_common() completely ignores the information available in istate (which
could be of some help).

File:
1 edited

Legend:

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

    r20235a3 r0c39b96  
    180180                                        return false;
    181181                                /* too big offsets are suspicious */
    182                                 if (offset > 32 * 4)
     182                                if ((size_t) offset > sizeof(istate_t))
    183183                                        return false;
    184184
Note: See TracChangeset for help on using the changeset viewer.