Subversion Repositories HelenOS

Rev

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

Rev 2848 Rev 2854
Line 77... Line 77...
77
    ipl_t ipl;
77
    ipl_t ipl;
78
 
78
 
79
    ipl = interrupts_disable();
79
    ipl = interrupts_disable();
80
    spinlock_lock(&THREAD->debug_lock);
80
    spinlock_lock(&THREAD->debug_lock);
81
 
81
 
-
 
82
    /* Must only generate events when in debugging session and have go */
82
    if (THREAD->debug_active == true) {
83
    if (THREAD->debug_active == true &&
-
 
84
        THREAD->debug_stop == false) {
83
        klog_printf("udebug_syscall_event");
85
        klog_printf("udebug_syscall_event");
84
        call = THREAD->debug_go_call;
86
        call = THREAD->debug_go_call;
85
        IPC_SET_RETVAL(call->data, 0);
87
        IPC_SET_RETVAL(call->data, 0);
86
        IPC_SET_ARG1(call->data, UDEBUG_EVENT_SYSCALL);
88
        IPC_SET_ARG1(call->data, UDEBUG_EVENT_SYSCALL);
87
        IPC_SET_ARG2(call->data, id);
89
        IPC_SET_ARG2(call->data, id);