Ignore:
Timestamp:
2008-12-07T18:36:51Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
925fdd7
Parents:
5d9430d7
Message:

Rename udebug_thread_t.debug_active just to 'active'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/udebug/udebug_ops.c

    r5d9430d7 r8af9950  
    5959 * and belongs to the current task (TASK). Verifies, that the thread
    6060 * is (or is not) go according to being_go (typically false).
    61  * It also locks t->udebug.lock, making sure that t->udebug.debug_active
     61 * It also locks t->udebug.lock, making sure that t->udebug.active
    6262 * is true - that the thread is in a valid debugging session.
    6363 *
     
    109109
    110110        /* Verify debugging state. */
    111         if (t->udebug.debug_active != true) {
     111        if (t->udebug.active != true) {
    112112                /* Not in debugging session or undesired GO state */
    113113                spinlock_unlock(&t->lock);
     
    118118
    119119        /*
    120          * Since the thread has debug_active == true, TASK->udebug.lock
    121          * is enough to ensure its existence and that debug_active remains
     120         * Since the thread has active == true, TASK->udebug.lock
     121         * is enough to ensure its existence and that active remains
    122122         * true.
    123123         */
     
    205205        }
    206206       
    207         /* Set udebug.debug_active on all of the task's userspace threads. */
     207        /* Set udebug.active on all of the task's userspace threads. */
    208208
    209209        for (cur = TASK->th_head.next; cur != &TASK->th_head; cur = cur->next) {
     
    212212                mutex_lock(&t->udebug.lock);
    213213                if ((t->flags & THREAD_FLAG_USPACE) != 0)
    214                         t->udebug.debug_active = true;
     214                        t->udebug.active = true;
    215215                mutex_unlock(&t->udebug.lock);
    216216        }
Note: See TracChangeset for help on using the changeset viewer.