Subversion Repositories Kolibri OS

Rev

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

Rev 420 Rev 427
Line 116... Line 116...
116
        mov   ds, ax        ;çàãðóçèì ïðàâèëüíûå çíà÷åíè
116
        mov   ds, ax        ;çàãðóçèì ïðàâèëüíûå çíà÷åíè
117
        mov   es, ax        ;â ðåãèñòðû
117
        mov   es, ax        ;â ðåãèñòðû
Line 118... Line 118...
118
 
118
 
119
; test if debugging
119
; test if debugging
120
        cli
120
        cli
121
        mov   eax, [CURRENT_TASK]
-
 
122
        shl   eax, 8
121
        mov   eax, [current_slot]
123
        mov   eax, [SLOT_BASE+eax+APPDATA.debugger_slot]
122
        mov   eax, [eax+APPDATA.debugger_slot]
124
        test  eax, eax
123
        test  eax, eax
125
        jnz   .debug
124
        jnz   .debug
126
        sti
125
        sti
127
; not debuggee => say error and terminate
126
; not debuggee => say error and terminate