Rev 2900 | Rev 2913 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2900 | Rev 2901 | ||
---|---|---|---|
Line 395... | Line 395... | ||
395 | interrupts_restore(ipl); |
395 | interrupts_restore(ipl); |
396 | return rc; |
396 | return rc; |
397 | } |
397 | } |
398 | 398 | ||
399 | /* Additionally we need to verify that we are inside a syscall */ |
399 | /* Additionally we need to verify that we are inside a syscall */ |
400 | if (t->cur_event != UDEBUG_EVENT_SYSCALL) { |
400 | if (t->cur_event != UDEBUG_EVENT_SYSCALL_B && |
- | 401 | t->cur_event != UDEBUG_EVENT_SYSCALL_E) { |
|
401 | _thread_op_end(t); |
402 | _thread_op_end(t); |
402 | interrupts_restore(ipl); |
403 | interrupts_restore(ipl); |
403 | 404 | ||
404 | return EINVAL; |
405 | return EINVAL; |
405 | } |
406 | } |