Subversion Repositories HelenOS

Rev

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

Rev 2919 Rev 3014
Line 408... Line 408...
408
         * Note that this is the only thread that could change
408
         * Note that this is the only thread that could change
409
         * TASK->debugger. Therefore no locking is necessary
409
         * TASK->debugger. Therefore no locking is necessary
410
         * and the sender can be safely considered valid until
410
         * and the sender can be safely considered valid until
411
         * control exits this function.
411
         * control exits this function.
412
         */
412
         */
413
        if (TASK->debugger != call->sender) {
413
        if (TASK->udebug.debugger != call->sender) {
414
            IPC_SET_RETVAL(call->data, EINVAL);
414
            IPC_SET_RETVAL(call->data, EINVAL);
415
            ipc_answer(&TASK->kernel_box, call);
415
            ipc_answer(&TASK->kernel_box, call);
416
            return;
416
            return;
417
        }
417
        }
418
    }
418
    }