Rev 5460 | Rev 6344 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5460 | Rev 5461 | ||
---|---|---|---|
Line 831... | Line 831... | ||
831 | call set_context |
831 | call set_context |
832 | mov esi, aUserBreak |
832 | mov esi, aUserBreak |
833 | jmp .put_msg_eax |
833 | jmp .put_msg_eax |
Line 834... | Line 834... | ||
834 | 834 | ||
- | 835 | .notdbg: |
|
- | 836 | pop eax |
|
- | 837 | push eax |
|
835 | .notdbg: |
838 | push eax |
- | 839 | mov esi, aException |
|
- | 840 | call put_message_nodraw |
|
- | 841 | pop eax |
|
- | 842 | ||
- | 843 | cmp al, 16 |
|
- | 844 | ja .suspended |
|
- | 845 | mov esi, [msg_fault_sel + eax*4] |
|
- | 846 | call put_message_nodraw |
|
- | 847 | ||
- | 848 | .suspended: |
|
Line 836... | Line 849... | ||
836 | mov esi, aException |
849 | mov esi, aSuspended |
837 | 850 | ||
Line 838... | Line 851... | ||
838 | .put_msg_eax: |
851 | .put_msg_eax: |
839 | call put_message_nodraw |
852 | call put_message_nodraw |
Line 840... | Line 853... | ||
840 | 853 | ||
841 | .done_draw: |
- | |
842 | call draw_messages |
- | |
843 | - | ||
844 | .done: |
- | |
845 | ;push 18 |
- | |
846 | ;pop eax |
854 | .done_draw: |
847 | ;push 3 |
855 | call draw_messages |
848 | ;pop ebx |
856 | |
849 | ;mov ecx, [dbgwnd] |
857 | .done: |
850 | mcall 18, 3, [dbgwnd] ; activate dbg window |
858 | mcall 18, 3, [dbgwnd] ; activate dbg window |
Line 2218... | Line 2226... | ||
2218 | .20 db 'Too many processes.',10,0 |
2226 | .20 db 'Too many processes.',10,0 |
2219 | load_succ_msg db 'Program loaded successfully! PID=%4X. Use "g" to run.',10,0 |
2227 | load_succ_msg db 'Program loaded successfully! PID=%4X. Use "g" to run.',10,0 |
2220 | need_debuggee db 'No program loaded. Use "load" command.',10,0 |
2228 | need_debuggee db 'No program loaded. Use "load" command.',10,0 |
2221 | aAlreadyLoaded db 'Program is already loaded. Use "terminate" or "detach" commands',10,0 |
2229 | aAlreadyLoaded db 'Program is already loaded. Use "terminate" or "detach" commands',10,0 |
2222 | terminated_msg db 'Program terminated.',10,0 |
2230 | terminated_msg db 'Program terminated.',10,0 |
2223 | aException db 'Debugged program caused an exception %2X. ' |
2231 | aException db 'Debugged program caused an exception %2X. ', 0 |
- | 2232 | msg_fault_sel dd aDivide, aDebug, aNonMask, aUndefined, aOverflow |
|
- | 2233 | dd aBounds, aInvalid, aCoProcessorNA, aDoubleFault |
|
- | 2234 | dd aUndefined, aInvalidTSS, aSegment, aStack |
|
- | 2235 | dd aProtection, aPageFault, aUndefined, aCoProcessor |
|
- | 2236 | aDivide db '(Divide error)',10,0 |
|
- | 2237 | aDebug db '(Single-step/debug exception)',10,0 |
|
- | 2238 | aNonMask db '(Nonmaskable interrupt)',10,0 |
|
- | 2239 | aOverflow db '(Overflow)',10,0 |
|
- | 2240 | aBounds db '(Bounds check)',10,0 |
|
- | 2241 | aInvalid db '(Invalid opcode)',10,0 |
|
- | 2242 | aCoProcessorNA db '(Coprocessor not available)',10,0 |
|
- | 2243 | aDoubleFault db '(Double fault)',10,0 |
|
- | 2244 | aUndefined db '(Undefined fault)',10,0 |
|
- | 2245 | aInvalidTSS db '(Invalid TSS)',10,0 |
|
- | 2246 | aSegment db '(Segment not present)',10,0 |
|
- | 2247 | aStack db '(Stack fault)',10,0 |
|
- | 2248 | aProtection db '(General protection fault)',10,0 |
|
- | 2249 | aPageFault db '(Page fault)',10,0 |
|
- | 2250 | aCoProcessor db '(Coprocessor error)',10,0 |
|
2224 | aSuspended db 'Suspended',10,0 |
2251 | aSuspended db 'Suspended',10,0 |
2225 | aContinued db 'Continuing',10,0 |
2252 | aContinued db 'Continuing',10,0 |
2226 | aRunningErr db 'Program is running',10,0 |
2253 | aRunningErr db 'Program is running',10,0 |
2227 | read_mem_err db 'ERROR: cannot read process memory!!!',10,0 |
2254 | read_mem_err db 'ERROR: cannot read process memory!!!',10,0 |
2228 | aBreakpointLimitExceeded db 'Breakpoint limit exceeded',10,0 |
2255 | aBreakpointLimitExceeded db 'Breakpoint limit exceeded',10,0 |