Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6344 → Rev 6343

/programs/develop/mtdbg/mtdbg.asm
113,6 → 113,14
ret
 
set_context:
;push 2
;pop ebx
;push 69
;pop eax
;mov ecx, [debuggee_pid]
;mov esi, context
;push 28h
;pop edx
mcall 69, 2, [debuggee_pid], 28h, context
ret
 
125,6 → 133,10
push edi
rep stosb
pop edi
;mov ecx, [debuggee_pid]
;mov al, 69
;push 6
;pop ebx
mcall 69, 6, [debuggee_pid]
cmp eax, -1
jnz @f
236,10 → 248,6
.load_ok:
mov [debuggee_pid], eax
mov [bSuspended], 1
mov eax, 5
mov ebx, 20
int 0x40
 
push ecx
call get_context
mov edi, oldcontext
708,9 → 716,6
jz exception
dec eax
jz terminated
dec eax
jnz dbg_notify
 
mov [bSuspended], 1
cmp [bAfterGo], 0
jnz after_go_exception
748,13 → 753,6
push esi
jmp exception.done_draw
 
dbg_notify:
int3
add esi, 32
push esi
jmp dbgmsgend
 
 
; TODO: make it local
terminated:
push esi