Changeset 114 for trunk/src/kernel32/exceptions.cpp
- Timestamp:
- Jun 17, 1999, 11:52:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r100 r114 1 /* $Id: exceptions.cpp,v 1. 3 1999-06-10 20:47:51phaller Exp $ */1 /* $Id: exceptions.cpp,v 1.4 1999-06-17 21:51:59 phaller Exp $ */ 2 2 3 3 /* … … 23 23 * __try{...}__finally{...} 24 24 * statements is simply not documented by Microsoft. There could be different 25 * reasons for this: 26 * One reason could be that they try to hide the fact that exception 27 * handling in Win32 looks almost the same as in OS/2 2.x. 25 * reasons for this: 26 * One reason could be that they try to hide the fact that exception 27 * handling in Win32 looks almost the same as in OS/2 2.x. 28 28 * Another reason could be that Microsoft does not want others to write 29 * binary compatible implementations of the Win32 API (like us). 30 * 31 * Whatever the reason, THIS SUCKS!! Ensuring portabilty or future 32 * compatability may be valid reasons to keep some things undocumented. 33 * But exception handling is so basic to Win32 that it should be 29 * binary compatible implementations of the Win32 API (like us). 30 * 31 * Whatever the reason, THIS SUCKS!! Ensuring portabilty or future 32 * compatability may be valid reasons to keep some things undocumented. 33 * But exception handling is so basic to Win32 that it should be 34 34 * documented! 35 35 * … … 37 37 * -Most functions need better parameter checking. 38 38 * -I do not know how to handle exceptions within an exception handler. 39 * or what is done when ExceptionNestedException is returned from an 39 * or what is done when ExceptionNestedException is returned from an 40 40 * exception handler 41 41 * -Real exceptions are not yet implemented. only the exception functions … … 310 310 pszExceptionName = "Guard Page Violation"; 311 311 sprintf(szData, 312 "R/W %08x at %08x.",312 "R/W %08xh at %08xh.", 313 313 pERepRec->ExceptionInfo[0], 314 314 pERepRec->ExceptionInfo[1]); … … 334 334 case XCPT_READ_ACCESS: 335 335 sprintf (szData, 336 "Read Access at address %08x ",336 "Read Access at address %08xh", 337 337 pERepRec->ExceptionInfo[1]); 338 338 break; … … 567 567 568 568 if (rc == NO_ERROR) 569 dprintf(("%s (#%u), Obj #%u, Offset%08x\n",569 dprintf(("%s (#%u), obj #%u:%08x\n", 570 570 szModule, 571 571 ulModule, … … 602 602 603 603 if (pCtxRec->ContextFlags & CONTEXT_INTEGER) /* check flags */ 604 dprintf((" EAX=%08x ESI=%08x\n" 605 " EBX=%08x EDI=%08x\n" 606 " ECX=%08x\n" 607 " EDX=%08x\n", 604 dprintf((" EAX=%08x EBX=%08x ESI=%08x\n" 605 " ECX=%08x EDX=%08x EDI=%08x\n", 608 606 pCtxRec->ctx_RegEax, 607 pCtxRec->ctx_RegEbx, 609 608 pCtxRec->ctx_RegEsi, 610 pCtxRec->ctx_RegEbx,611 pCtxRec->ctx_RegEdi,612 609 pCtxRec->ctx_RegEcx, 613 pCtxRec->ctx_RegEdx)); 610 pCtxRec->ctx_RegEdx, 611 pCtxRec->ctx_RegEdi)); 614 612 615 613 if (pCtxRec->ContextFlags & CONTEXT_SEGMENTS) /* check flags */ 616 dprintf((" DS=%08x\n" 617 " ES=%08x\n" 618 " FS=%08x\n" 619 " GS=%08x\n", 614 dprintf((" DS=%04x ES=%08x" 615 " FS=%04x GS=%04x\n", 620 616 pCtxRec->ctx_SegDs, 621 617 pCtxRec->ctx_SegEs,
Note:
See TracChangeset
for help on using the changeset viewer.