Subversion Repositories Kolibri OS

Rev

Rev 112 | Rev 114 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 112 Rev 113
Line 244... Line 244...
244
        jmp   change_task
244
        jmp   change_task
Line 245... Line 245...
245
 
245
 
246
.debug:
246
.debug:
247
; we are debugged process, notify debugger and suspend ourself
247
; we are debugged process, notify debugger and suspend ourself
-
 
248
; eax=debugger PID
248
; eax=debugger PID
249
        cld
249
        movzx ecx, bl
250
        movzx ecx, bl
250
        push  ecx
251
        push  ecx
251
        mov   ecx, [0x3010]
252
        mov   ecx, [0x3010]
252
        push  dword [ecx+4]    ; PID of current process
253
        push  dword [ecx+4]    ; PID of current process