Ignore:
File:
1 edited

Legend:

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

    r55b77d9 r96b02eb9  
    196196        /* Set udebug.active on all of the task's userspace threads. */
    197197       
    198         list_foreach(TASK->threads, cur) {
     198        link_t *cur;
     199        for (cur = TASK->th_head.next; cur != &TASK->th_head; cur = cur->next) {
    199200                thread_t *thread = list_get_instance(cur, thread_t, th_link);
    200201               
     
    389390       
    390391        /* FIXME: make sure the thread isn't past debug shutdown... */
    391         list_foreach(TASK->threads, cur) {
     392        link_t *cur;
     393        for (cur = TASK->th_head.next; cur != &TASK->th_head; cur = cur->next) {
    392394                thread_t *thread = list_get_instance(cur, thread_t, th_link);
    393395               
Note: See TracChangeset for help on using the changeset viewer.