Changeset 25528 in vbox for trunk/src/VBox/Runtime/r0drv/freebsd
- Timestamp:
- Dec 20, 2009 11:24:59 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56201
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c
r18972 r25528 39 39 #include <iprt/stdarg.h> 40 40 41 #include "internal/assert.h" 41 42 42 RTDECL(void) AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 43 44 void rtR0AssertNativeMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction) 43 45 { 44 #ifdef IN_GUEST_R045 RTLogBackdoorPrintf("\n!!Assertion Failed!!\n"46 "Expression: %s\n"47 "Location : %s(%d) %s\n",48 pszExpr, pszFile, uLine, pszFunction);49 #endif50 51 46 printf("\r\n!!Assertion Failed!!\r\n" 52 47 "Expression: %s\r\n" … … 56 51 57 52 58 RTDECL(void) AssertMsg2(const char *pszFormat, ...)53 void rtR0AssertNativeMsg2V(const char *pszFormat, va_list va) 59 54 { 60 va_list va; 61 char szMsg[256]; 62 63 #ifdef IN_GUEST_R0 64 va_start(va, pszFormat); 65 RTLogBackdoorPrintfV(pszFormat, va); 66 va_end(va); 67 #endif 55 char szMsg[256]; 68 56 69 57 va_start(va, pszFormat);
Note:
See TracChangeset
for help on using the changeset viewer.