Rev 2913 | Rev 3033 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2913 | Rev 3014 | ||
|---|---|---|---|
| Line 728... | Line 728... | ||
| 728 | 728 | ||
| 729 | if (method == IPC_M_PHONE_HUNGUP) { |
729 | if (method == IPC_M_PHONE_HUNGUP) { |
| 730 | klog_printf("kbox: handle hangup message"); |
730 | klog_printf("kbox: handle hangup message"); |
| 731 | 731 | ||
| 732 | /* Was it our debugger, who hung up? */ |
732 | /* Was it our debugger, who hung up? */ |
| 733 | if (call->sender == TASK->debugger) { |
733 | if (call->sender == TASK->udebug.debugger) { |
| 734 | /* Terminate debugging session (if any) */ |
734 | /* Terminate debugging session (if any) */ |
| 735 | klog_printf("kbox: terminate debug session"); |
735 | klog_printf("kbox: terminate debug session"); |
| 736 | ipl = interrupts_disable(); |
736 | ipl = interrupts_disable(); |
| 737 | spinlock_lock(&TASK->lock); |
737 | spinlock_lock(&TASK->lock); |
| 738 | udebug_task_cleanup(TASK); |
738 | udebug_task_cleanup(TASK); |