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


Ignore:
Timestamp:
2011-05-18T17:13:51Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c3106f
Parents:
0dd8c29
Message:

print information about current objects in case of panic

File:
1 edited

Legend:

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

    r0dd8c29 r1182d79  
    9595        printf("\n");
    9696       
     97        printf("THE=%p", THE);
     98        if (THE != NULL) {
     99                printf(": pe=%u thr=%p task=%p cpu=%p as=%p",
     100                    THE->preemption_disabled, THE->thread, THE->task,
     101                    THE->cpu, THE->as);
     102        }
     103        printf("\n");
     104       
    97105        if (istate) {
    98106                istate_decode(istate);
Note: See TracChangeset for help on using the changeset viewer.