Subversion Repositories HelenOS

Rev

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

Rev 2897 Rev 2898
Line 162... Line 162...
162
        ipc_answer(&TASK->kernel_box, call);
162
        ipc_answer(&TASK->kernel_box, call);
163
        return;
163
        return;
164
    }
164
    }
165
}
165
}
166
 
166
 
-
 
167
static void udebug_receive_stop(call_t *call)
-
 
168
{
-
 
169
    thread_t *t;
-
 
170
    int rc;
-
 
171
 
-
 
172
    klog_printf("debug_stop()");
-
 
173
 
-
 
174
    t = (thread_t *)IPC_GET_ARG2(call->data);
-
 
175
 
-
 
176
    rc = udebug_stop(t, call);
-
 
177
    IPC_SET_RETVAL(call->data, rc);
-
 
178
    ipc_answer(&TASK->kernel_box, call);
-
 
179
}
167
 
180
 
168
static void udebug_receive_thread_read(call_t *call)
181
static void udebug_receive_thread_read(call_t *call)
169
{
182
{
170
    unative_t uspace_addr;
183
    unative_t uspace_addr;
171
    unative_t to_copy;
184
    unative_t to_copy;
Line 419... Line 432...
419
        udebug_receive_end(call);
432
        udebug_receive_end(call);
420
        break;
433
        break;
421
    case UDEBUG_M_GO:
434
    case UDEBUG_M_GO:
422
        udebug_receive_go(call);
435
        udebug_receive_go(call);
423
        break;
436
        break;
-
 
437
    case UDEBUG_M_STOP:
-
 
438
        udebug_receive_stop(call);
-
 
439
        break;
424
    case UDEBUG_M_THREAD_READ:
440
    case UDEBUG_M_THREAD_READ:
425
        udebug_receive_thread_read(call);
441
        udebug_receive_thread_read(call);
426
        break;
442
        break;
427
    case UDEBUG_M_ARGS_READ:
443
    case UDEBUG_M_ARGS_READ:
428
        udebug_receive_args_read(call);
444
        udebug_receive_args_read(call);