80,7 → 80,7 |
interrupts_restore(ipl); |
|
IPC_SET_RETVAL(db_call->data, 0); |
klog_printf("udebug_stoppable_begin/ipc_answer"); |
//klog_printf("udebug_stoppable_begin/ipc_answer"); |
ipc_answer(&TASK->answerbox, db_call); |
|
} else if (TASK->dt_state == UDEBUG_TS_ACTIVE) { |
147,8 → 147,8 |
spinlock_lock(&THREAD->debug_lock); |
|
if (TASK->dt_state == UDEBUG_TS_ACTIVE) { |
klog_printf("udebug_stoppable_end"); |
klog_printf("debug_stop=%d", THREAD->debug_stop); |
//klog_printf("udebug_stoppable_end"); |
//klog_printf("debug_stop=%d", THREAD->debug_stop); |
} |
|
if (THREAD->debug_active && |
158,7 → 158,7 |
spinlock_unlock(&TASK->lock); |
interrupts_restore(ipl); |
|
klog_printf("udebug_stoppable_end: waitq_sleep"); |
//klog_printf("udebug_stoppable_end: waitq_sleep"); |
waitq_sleep(&THREAD->go_wq); |
goto restart; |
/* must try again - have to lose stoppability atomically */ |
194,13 → 194,13 |
return; |
} |
|
klog_printf("udebug_syscall_event"); |
//klog_printf("udebug_syscall_event"); |
call = THREAD->debug_go_call; |
IPC_SET_RETVAL(call->data, 0); |
IPC_SET_ARG1(call->data, etype); |
IPC_SET_ARG2(call->data, id); |
IPC_SET_ARG3(call->data, rc); |
klog_printf("udebug_syscall_event/ipc_answer"); |
//klog_printf("udebug_syscall_event/ipc_answer"); |
|
THREAD->syscall_args[0] = a1; |
THREAD->syscall_args[1] = a2; |