Changeset 14500 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 24, 2008 2:22:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r14499 r14500 1178 1178 DECLEXPORT(void) RTCALL AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 1179 1179 { 1180 #if ndef DEBUG_sandervl1180 #if !defined(DEBUG_sandervl) && !defined(RT_OS_DARWIN) 1181 1181 SUPR0Printf("\n!!R0-Assertion Failed!!\n" 1182 1182 "Expression: %s\n" … … 1196 1196 "Location : %s(%d) %s\n", 1197 1197 pszExpr, pszFile, uLine, pszFunction); 1198 #ifdef RT_OS_DARWIN 1199 RTAssertMsg1(pszExpr, uLine, pszFile, pszFunction); 1200 #endif 1198 1201 } 1199 1202 … … 1207 1210 for (size_t i = 0; i < cbChars; i++) 1208 1211 { 1209 #if ndef DEBUG_sandervl1212 #if !defined(DEBUG_sandervl) && !defined(RT_OS_DARWIN) 1210 1213 SUPR0Printf("%c", pachChars[i]); 1211 1214 #endif … … 1219 1222 DECLEXPORT(void) RTCALL AssertMsg2(const char *pszFormat, ...) 1220 1223 { 1224 va_list va; 1225 1221 1226 PRTLOGGER pLog = RTLogDefaultInstance(); /** @todo we want this for release as well! */ 1222 1227 if (pLog) 1223 1228 { 1224 va_list va;1225 1229 va_start(va, pszFormat); 1226 1230 RTLogFormatV(rtLogOutput, pLog, pszFormat, va); … … 1235 1239 } 1236 1240 } 1237 } 1238 1241 1242 #ifdef RT_OS_DARWIN 1243 va_start(va, pszFormat); 1244 RTAssertMsg2V(pszFormat, va); 1245 va_end(va); 1246 #endif 1247 } 1248
Note:
See TracChangeset
for help on using the changeset viewer.