Subversion Repositories HelenOS

Rev

Rev 2854 | Rev 2867 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2854 Rev 2866
Line 101... Line 101...
101
         * Make sure debug_stop is true when going to sleep
101
         * Make sure debug_stop is true when going to sleep
102
         * in case we get woken up by DEBUG_END. (At which
102
         * in case we get woken up by DEBUG_END. (At which
103
         * point it must be back to the initial true value).
103
         * point it must be back to the initial true value).
104
         */
104
         */
105
        THREAD->debug_stop = true;
105
        THREAD->debug_stop = true;
-
 
106
 
-
 
107
        THREAD->cur_event = UDEBUG_EVENT_SYSCALL;
106
        spinlock_unlock(&THREAD->debug_lock);
108
        spinlock_unlock(&THREAD->debug_lock);
107
 
109
 
108
        spinlock_lock(&TASK->lock);
110
        spinlock_lock(&TASK->lock);
109
        ipc_answer(&TASK->answerbox, THREAD->debug_go_call);
111
        ipc_answer(&TASK->answerbox, THREAD->debug_go_call);
110
        spinlock_unlock(&TASK->lock);
112
        spinlock_unlock(&TASK->lock);