Ignore:
Timestamp:
2008-11-21T14:38:18Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
741fd16
Parents:
1378b2b
Message:

Replace 'stop' in udebug_thread_t with 'go' for consistency with nomenclature.

File:
1 edited

Legend:

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

    r1378b2b r384c488  
    143143        mutex_unlock(&TASK->udebug.lock);
    144144
    145         if (!t->udebug.stop != being_go) {
     145        if (t->udebug.go != being_go) {
    146146                /* Not in debugging session or undesired GO state. */
    147147                mutex_unlock(&t->udebug.lock);
     
    292292
    293293        t->udebug.go_call = call;
    294         t->udebug.stop = false;
     294        t->udebug.go = true;
    295295        t->udebug.cur_event = 0;        /* none */
    296296
     
    330330
    331331        /* Take GO away from the thread. */
    332         t->udebug.stop = true;
    333 
    334         if (!t->udebug.stoppable) {
     332        t->udebug.go = false;
     333
     334        if (t->udebug.stoppable != true) {
    335335                /* Answer will be sent when the thread becomes stoppable. */
    336336                _thread_op_end(t);
Note: See TracChangeset for help on using the changeset viewer.