Changeset 3160 for trunk/src/kernel32/exceptions.cpp
- Timestamp:
- Mar 18, 2000, 8:49:44 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r2949 r3160 1 /* $Id: exceptions.cpp,v 1.3 6 2000-02-29 19:17:13 sandervl Exp $ */1 /* $Id: exceptions.cpp,v 1.37 2000-03-18 19:49:43 sandervl Exp $ */ 2 2 3 3 /* … … 1117 1117 1118 1118 DosSetExceptionHandler(pExceptRec); 1119 dprintf(("OS2SetExceptionHandler: exception chain %x (old %x)", pExceptRec, pExceptRec->prev_structure)); 1120 } 1119 dprintf(("OS2SetExceptionHandler: exception chain %x", pExceptRec)); 1120 PrintExceptionChain(); 1121 } 1122 1123 #ifdef DEBUG 1124 void PrintExceptionChain() 1125 { 1126 USHORT sel = RestoreOS2FS(); 1127 PEXCEPTIONREGISTRATIONRECORD pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)QueryExceptionChain(); 1128 1129 dprintf(("Exception chain list:")); 1130 while(pExceptRec != 0 && (ULONG)pExceptRec != -1) { 1131 dprintf(("record %x", pExceptRec)); 1132 pExceptRec = pExceptRec->prev_structure; 1133 } 1134 SetFS(sel); 1135 } 1136 #endif 1137 1121 1138 1122 1139 /***************************************************************************** … … 1133 1150 void OS2UnsetExceptionHandler(void *exceptframe) 1134 1151 { 1135 DosUnsetExceptionHandler((PEXCEPTIONREGISTRATIONRECORD)exceptframe); 1152 PEXCEPTIONREGISTRATIONRECORD pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)exceptframe; 1153 1154 DosUnsetExceptionHandler(pExceptRec); 1155 dprintf(("OS2UnsetExceptionHandler: exception chain %x", pExceptRec)); 1156 PrintExceptionChain(); 1136 1157 } 1137 1158
Note:
See TracChangeset
for help on using the changeset viewer.