Changeset a33f0a6 in mainline for kernel/generic/src/debug/panic.c


Ignore:
Timestamp:
2011-08-03T17:34:57Z (15 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
1940326
Parents:
52a79081 (diff), 3fab770 (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.
Message:

Merge from mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/panic.c

    r52a79081 ra33f0a6  
    4848    uintptr_t address, const char *fmt, ...)
    4949{
    50         va_list args;
    51        
    52         silent = false;
     50        console_override = true;
    5351       
    5452        printf("\n%s Kernel panic ", BANNER_LEFT);
     
    5755        printf("due to ");
    5856       
     57        va_list args;
    5958        va_start(args, fmt);
    6059        if (cat == PANIC_ASSERT) {
     
    9594        printf("\n");
    9695       
     96        printf("THE=%p: ", THE);
     97        if (THE != NULL) {
     98                printf("pe=%" PRIun " thr=%p task=%p cpu=%p as=%p"
     99                    " magic=%#" PRIx32 "\n", THE->preemption_disabled,
     100                    THE->thread, THE->task, THE->cpu, THE->as, THE->magic);
     101        } else
     102                printf("invalid\n");
     103       
    97104        if (istate) {
    98105                istate_decode(istate);
Note: See TracChangeset for help on using the changeset viewer.