Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/syscall/syscall.c

    r9510be2 r4774a32  
    6262
    6363#ifdef CONFIG_UDEBUG
     64        bool debug;
     65
    6466        /*
    6567         * Early check for undebugged tasks. We do not lock anything as this
    66          * test need not be precise in either direction.
     68         * test need not be precise in either way.
    6769         */
    68         if (THREAD->udebug.active) {
     70        debug = THREAD->udebug.active;
     71       
     72        if (debug) {
    6973                udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, 0, false);
    7074        }
     
    8387       
    8488#ifdef CONFIG_UDEBUG
    85         if (THREAD->udebug.active) {
     89        if (debug) {
    8690                udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, rc, true);
    8791       
Note: See TracChangeset for help on using the changeset viewer.