Changeset 1378b2b in mainline for kernel/generic/src/udebug/udebug.c


Ignore:
Timestamp:
2008-11-21T14:04:08Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
384c488
Parents:
18c485a
Message:

Udebug comments - 'is go', not 'has go'. Missing periods.

File:
1 edited

Legend:

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

    r18c485a r1378b2b  
    248248
    249249                goto restart;
    250                 /* must try again - have to lose stoppability atomically */
     250                /* Must try again - have to lose stoppability atomically. */
    251251        } else {
    252252                ++TASK->udebug.not_stoppable_count;
     
    322322        mutex_lock(&THREAD->udebug.lock);
    323323
    324         /* Must only generate events when in debugging session and have go */
     324        /* Must only generate events when in debugging session and is go. */
    325325        if (THREAD->udebug.debug_active != true ||
    326326            THREAD->udebug.stop == true ||
     
    440440        LOG("- check state\n");
    441441
    442         /* Must only generate events when in debugging session */
     442        /* Must only generate events when in debugging session. */
    443443        if (THREAD->udebug.debug_active != true) {
    444444/*              printf("- debug_active: %s, udebug.stop: %s\n",
     
    457457        IPC_SET_ARG1(call->data, UDEBUG_EVENT_THREAD_E);
    458458
    459         /* Prevent any further debug activity in thread */
     459        /* Prevent any further debug activity in thread. */
    460460        THREAD->udebug.debug_active = false;
    461461        THREAD->udebug.cur_event = 0;           /* none */
     
    467467        mutex_unlock(&TASK->udebug.lock);
    468468
    469         /* Leave int_lock enabled */
    470         /* This event does not sleep - debugging has finished in this thread */
     469        /* Leave int_lock enabled. */
     470        /* This event does not sleep - debugging has finished in this thread. */
    471471}
    472472
     
    513513                interrupts_restore(ipl);
    514514
    515                 /* Only process userspace threads */
     515                /* Only process userspace threads. */
    516516                if ((flags & THREAD_FLAG_USPACE) != 0) {
    517                         /* Prevent any further debug activity in thread */
     517                        /* Prevent any further debug activity in thread. */
    518518                        t->udebug.debug_active = false;
    519519                        t->udebug.cur_event = 0;        /* none */
    520520
    521                         /* Still has go? */
     521                        /* Is the thread still go? */
    522522                        if (t->udebug.stop == false) {
    523523                                /*
Note: See TracChangeset for help on using the changeset viewer.