Changes in kernel/generic/src/udebug/udebug_ops.c [feeac0d:6eef3c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug_ops.c
rfeeac0d r6eef3c4 196 196 /* Set udebug.active on all of the task's userspace threads. */ 197 197 198 list_foreach(TASK->threads, th_link, thread_t, thread) { 198 list_foreach(TASK->threads, cur) { 199 thread_t *thread = list_get_instance(cur, thread_t, th_link); 200 199 201 mutex_lock(&thread->udebug.lock); 200 202 if (thread->uspace) { … … 387 389 388 390 /* FIXME: make sure the thread isn't past debug shutdown... */ 389 list_foreach(TASK->threads, th_link, thread_t, thread) { 391 list_foreach(TASK->threads, cur) { 392 thread_t *thread = list_get_instance(cur, thread_t, th_link); 393 390 394 irq_spinlock_lock(&thread->lock, false); 391 395 bool uspace = thread->uspace;
Note:
See TracChangeset
for help on using the changeset viewer.