/kernel/trunk/core/taskman.inc |
---|
950,6 → 950,13 |
.cleanup: |
stdcall free_kernel_space, [ebp+APP_HDR.img_base] |
stdcall kernel_free, ebp |
mov ebx, [current_slot] |
cmp [ebx+APPDATA.debugger_slot], 0 |
je .exit |
mov eax, [TASK_BASE] |
mov [eax+TASKDATA.state], 1 |
call change_task |
.exit: |
popad |
iretd |
1090,7 → 1097,6 |
; set if debuggee |
test byte [flags], 1 |
jz .no_debug |
inc edx ; process state - suspended |
mov eax, [CURRENT_TASK] |
mov [SLOT_BASE+ebx*8+APPDATA.debugger_slot], eax |
.no_debug: |