- Timestamp:
- Dec 21, 2009 11:06:08 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56209
- Location:
- trunk
- Files:
-
- 19 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/assert.h
r25528 r25536 128 128 RTDECL(void) RTAssertMsg2WeakV(const char *pszFormat, va_list va); 129 129 130 /** 131 * Additional information which should be appended to the 2nd part of an 132 * assertion message. 133 * 134 * @param pszFormat Printf like format string. 135 * @param ... Arguments to that string. 136 */ 137 RTDECL(void) RTAssertMsg2Add(const char *pszFormat, ...); 138 /** 139 * Weak version of RTAssertMsgAdd2 that forwards to RTAssertMsg2AddWeakV. 140 * 141 * There is not need to override this, check out RTAssertMsg2AddWeakV instead! 142 * 143 * @copydoc RTAssertMsgAdd2 144 */ 145 RTDECL(void) RTAssertMsg2AddWeak(const char *pszFormat, ...); 146 147 /** 148 * Additional information which should be appended to the 2nd part of an 149 * assertion message. 150 * 151 * @param pszFormat Printf like format string. 152 * @param va Arguments to that string. 153 */ 154 RTDECL(void) RTAssertMsg2AddV(const char *pszFormat, va_list va); 155 /** 156 * Weak version of RTAssertMsg2AddV that can be overridden locally in a module 157 * to modify, redirect or otherwise mess with the assertion output. 158 * 159 * @copydoc RTAssertMsg2AddV 160 */ 161 RTDECL(void) RTAssertMsg2AddWeakV(const char *pszFormat, va_list va); 162 130 163 #ifdef IN_RING0 131 164 /** … … 194 227 extern RTDATADECL(char) g_szRTAssertMsg1[1024]; 195 228 /** The last assert message, 2nd part. */ 196 extern RTDATADECL(char) g_szRTAssertMsg2[ 2048];229 extern RTDATADECL(char) g_szRTAssertMsg2[4096]; 197 230 /** The last assert message, expression. */ 198 231 extern RTDATADECL(const char * volatile) g_pszRTAssertExpr; -
trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile
r25532 r25536 105 105 common/misc/RTAssertMsg1Weak.o \ 106 106 common/misc/RTAssertMsg2.o \ 107 common/misc/RTAssertMsg2Add.o \ 108 common/misc/RTAssertMsg2AddWeak.o \ 109 common/misc/RTAssertMsg2AddWeakV.o \ 107 110 common/misc/RTAssertMsg2Weak.o \ 108 111 common/misc/RTAssertMsg2WeakV.o \ -
trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
r25532 r25536 75 75 ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestLog.h=>VBoxGuestLog.h \ 76 76 ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/VMMDev.cpp=>VMMDev.c \ 77 ${PATH_ROOT}/src/VBox/Runtime/include/internal/assert.h=>include/internal/assert.h \ 77 78 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 78 79 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ … … 99 100 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \ 100 101 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \ 102 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Add.cpp=>common/misc/RTAssertMsg2Add.c \ 103 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeak.cpp=>common/misc/RTAssertMsg2AddWeak.c \ 104 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeakV.cpp=>common/misc/RTAssertMsg2AddWeakV.c \ 101 105 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Weak.cpp=>common/misc/RTAssertMsg2Weak.c \ 102 106 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2WeakV.cpp=>common/misc/RTAssertMsg2WeakV.c \ -
trunk/src/VBox/HostDrivers/Support/freebsd/Makefile
r25532 r25536 75 75 RTAssertMsg1Weak.c \ 76 76 RTAssertMsg2.c \ 77 RTAssertMsg2Add.c \ 78 RTAssertMsg2AddWeak.c \ 79 RTAssertMsg2AddWeakV.c \ 77 80 RTAssertMsg2Weak.c \ 78 81 RTAssertMsg2WeakV.c \ -
trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv
r25532 r25536 93 93 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \ 94 94 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \ 95 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Add.cpp=>common/misc/RTAssertMsg2Add.c \ 96 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeak.cpp=>common/misc/RTAssertMsg2AddWeak.c \ 97 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeakV.cpp=>common/misc/RTAssertMsg2AddWeakV.c \ 95 98 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Weak.cpp=>common/misc/RTAssertMsg2Weak.c \ 96 99 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2WeakV.cpp=>common/misc/RTAssertMsg2WeakV.c \ … … 121 124 ${PATH_ROOT}/src/VBox/Runtime/common/table/avl_DoWithAll.cpp.h=>common/table/avl_DoWithAll.cpp.h \ 122 125 ${PATH_ROOT}/src/VBox/Runtime/common/table/avl_Destroy.cpp.h=>common/table/avl_Destroy.cpp.h \ 126 ${PATH_ROOT}/src/VBox/Runtime/include/internal/assert.h=>include/internal/assert.h \ 123 127 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 124 128 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ -
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r25532 r25536 110 110 common/misc/RTAssertMsg1Weak.o \ 111 111 common/misc/RTAssertMsg2.o \ 112 common/misc/RTAssertMsg2Add.o \ 113 common/misc/RTAssertMsg2AddWeak.o \ 114 common/misc/RTAssertMsg2AddWeakV.o \ 112 115 common/misc/RTAssertMsg2Weak.o \ 113 116 common/misc/RTAssertMsg2WeakV.o \ -
trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv
r25532 r25536 91 91 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg1Weak.cpp=>common/misc/RTAssertMsg1Weak.c \ 92 92 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2.cpp=>common/misc/RTAssertMsg2.c \ 93 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Add.cpp=>common/misc/RTAssertMsg2Add.c \ 94 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeak.cpp=>common/misc/RTAssertMsg2AddWeak.c \ 95 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeakV.cpp=>common/misc/RTAssertMsg2AddWeakV.c \ 93 96 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2Weak.cpp=>common/misc/RTAssertMsg2Weak.c \ 94 97 ${PATH_ROOT}/src/VBox/Runtime/common/misc/RTAssertMsg2WeakV.cpp=>common/misc/RTAssertMsg2WeakV.c \ … … 102 105 ${PATH_ROOT}/src/VBox/Runtime/common/string/strprintf.cpp=>common/string/strprintf.c \ 103 106 ${PATH_ROOT}/src/VBox/Runtime/common/string/strtonum.cpp=>common/string/strtonum.c \ 107 ${PATH_ROOT}/src/VBox/Runtime/include/internal/assert.h=>include/internal/assert.h \ 104 108 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \ 105 109 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \ -
trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/files_vboxnetadp
r23526 r25536 71 71 ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c=>VBoxNetAdp.c \ 72 72 ${PATH_ROOT}/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h=>VBoxNetAdpInternal.h \ 73 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \74 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \75 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \76 73 ${PATH_ROOT}/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h=>r0drv/freebsd/the-freebsd-kernel.h \ 77 74 ${PATH_OUT}/version-generated.h=>version-generated.h \ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/files_vboxnetflt
r23526 r25536 76 76 ${PATH_ROOT}/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h=>SUPR0IdcClientInternal.h \ 77 77 ${PATH_ROOT}/src/VBox/HostDrivers/Support/freebsd/SUPR0IdcClient-freebsd.c=>SUPR0IdcClient-freebsd.c \ 78 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \79 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \80 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \81 78 ${PATH_ROOT}/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h=>r0drv/freebsd/the-freebsd-kernel.h \ 82 79 ${PATH_OUT}/version-generated.h=>version-generated.h \ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt
r23473 r25536 72 72 ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>math/gcc/udivdi3.c \ 73 73 ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>math/gcc/umoddi3.c \ 74 ${PATH_ROOT}/src/VBox/Runtime/include/internal/initterm.h=>include/internal/initterm.h \75 ${PATH_ROOT}/src/VBox/Runtime/include/internal/iprt.h=>include/internal/iprt.h \76 ${PATH_ROOT}/src/VBox/Runtime/include/internal/magics.h=>include/internal/magics.h \77 74 ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \ 78 75 ${PATH_OUT}/version-generated.h=>version-generated.h \ -
trunk/src/VBox/Runtime/Makefile.kmk
r25528 r25536 235 235 common/log/logformat.cpp \ 236 236 common/misc/RTAssertMsg1Weak.cpp \ 237 common/misc/RTAssertMsg2.cpp \ 238 common/misc/RTAssertMsg2Add.cpp \ 239 common/misc/RTAssertMsg2AddWeak.cpp \ 240 common/misc/RTAssertMsg2AddWeakV.cpp \ 237 241 common/misc/RTAssertMsg2Weak.cpp \ 238 242 common/misc/RTAssertMsg2WeakV.cpp \ 239 common/misc/RTAssertMsg2.cpp \240 243 common/misc/assert.cpp \ 241 244 common/misc/buildconfig.cpp \ … … 792 795 common/log/logformat.cpp \ 793 796 common/misc/RTAssertMsg1Weak.cpp \ 797 common/misc/RTAssertMsg2.cpp \ 798 common/misc/RTAssertMsg2Add.cpp \ 799 common/misc/RTAssertMsg2AddWeak.cpp \ 800 common/misc/RTAssertMsg2AddWeakV.cpp \ 794 801 common/misc/RTAssertMsg2Weak.cpp \ 795 802 common/misc/RTAssertMsg2WeakV.cpp \ 796 common/misc/RTAssertMsg2.cpp \797 803 common/misc/assert.cpp \ 798 804 common/misc/buildconfig.cpp \ … … 1088 1094 common/log/logformat.cpp \ 1089 1095 common/misc/RTAssertMsg1Weak.cpp \ 1096 common/misc/RTAssertMsg2.cpp \ 1097 common/misc/RTAssertMsg2Add.cpp \ 1098 common/misc/RTAssertMsg2AddWeak.cpp \ 1099 common/misc/RTAssertMsg2AddWeakV.cpp \ 1090 1100 common/misc/RTAssertMsg2Weak.cpp \ 1091 1101 common/misc/RTAssertMsg2WeakV.cpp \ 1092 common/misc/RTAssertMsg2.cpp \1093 1102 common/misc/buildconfig.cpp \ 1094 1103 common/misc/handletable.cpp \ … … 1196 1205 common/log/logformat.cpp \ 1197 1206 common/misc/RTAssertMsg1Weak.cpp \ 1207 common/misc/RTAssertMsg2.cpp \ 1208 common/misc/RTAssertMsg2Add.cpp \ 1209 common/misc/RTAssertMsg2AddWeak.cpp \ 1210 common/misc/RTAssertMsg2AddWeakV.cpp \ 1198 1211 common/misc/RTAssertMsg2Weak.cpp \ 1199 1212 common/misc/RTAssertMsg2WeakV.cpp \ 1200 common/misc/RTAssertMsg2.cpp \1201 1213 common/misc/assert.cpp \ 1202 1214 common/misc/buildconfig.cpp \ … … 1525 1537 common/log/logformat.cpp \ 1526 1538 common/misc/RTAssertMsg1Weak.cpp \ 1539 common/misc/RTAssertMsg2.cpp \ 1540 common/misc/RTAssertMsg2Add.cpp \ 1541 common/misc/RTAssertMsg2AddWeak.cpp \ 1542 common/misc/RTAssertMsg2AddWeakV.cpp \ 1527 1543 common/misc/RTAssertMsg2Weak.cpp \ 1528 1544 common/misc/RTAssertMsg2WeakV.cpp \ 1529 common/misc/RTAssertMsg2.cpp \1530 1545 common/misc/assert.cpp \ 1531 1546 common/misc/buildconfig.cpp \ -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg2Add.cpp
r25534 r25536 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - RTAssertMsg2 .3 * IPRT - RTAssertMsg2Add. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2008 Sun Microsystems, Inc.7 * Copyright (C) 2008-2009 Sun Microsystems, Inc. 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 39 39 40 40 41 RTDECL(void) RTAssertMsg2 (const char *pszFormat, ...)41 RTDECL(void) RTAssertMsg2Add(const char *pszFormat, ...) 42 42 { 43 43 va_list va; 44 44 va_start(va, pszFormat); 45 RTAssertMsg2 V(pszFormat, va);45 RTAssertMsg2AddV(pszFormat, va); 46 46 va_end(va); 47 47 } 48 RT_EXPORT_SYMBOL(RTAssertMsg2 );48 RT_EXPORT_SYMBOL(RTAssertMsg2Add); 49 49 -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeak.cpp
r25534 r25536 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - RTAssertMsg2 Weak.3 * IPRT - RTAssertMsg2AddWeak. 4 4 */ 5 5 … … 39 39 40 40 41 RTDECL(void) RTAssertMsg2 Weak(const char *pszFormat, ...)41 RTDECL(void) RTAssertMsg2AddWeak(const char *pszFormat, ...) 42 42 { 43 43 va_list va; 44 44 va_start(va, pszFormat); 45 RTAssertMsg2 WeakV(pszFormat, va);45 RTAssertMsg2AddWeakV(pszFormat, va); 46 46 va_end(va); 47 47 } 48 RT_EXPORT_SYMBOL(RTAssertMsg2 Weak);48 RT_EXPORT_SYMBOL(RTAssertMsg2AddWeak); 49 49 -
trunk/src/VBox/Runtime/common/misc/RTAssertMsg2AddWeakV.cpp
r25534 r25536 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - RTAssertMsg2 WeakV.3 * IPRT - RTAssertMsg2AddWeakV. 4 4 */ 5 5 … … 37 37 38 38 39 RTDECL(void) RTAssertMsg2 WeakV(const char *pszFormat, va_list va)39 RTDECL(void) RTAssertMsg2AddWeakV(const char *pszFormat, va_list va) 40 40 { 41 RTAssertMsg2 V(pszFormat, va);41 RTAssertMsg2AddV(pszFormat, va); 42 42 } 43 RT_EXPORT_SYMBOL(RTAssertMsg2 WeakV);43 RT_EXPORT_SYMBOL(RTAssertMsg2AddWeakV); 44 44 -
trunk/src/VBox/Runtime/common/misc/assert.cpp
r25528 r25536 53 53 RT_EXPORT_SYMBOL(g_szRTAssertMsg1); 54 54 /** The last assert message, 2nd part. */ 55 RTDATADECL(char) g_szRTAssertMsg2[ 2048];55 RTDATADECL(char) g_szRTAssertMsg2[4096]; 56 56 RT_EXPORT_SYMBOL(g_szRTAssertMsg2); 57 /** The length of the g_szRTAssertMsg2 content. 58 * @remarks Race. */ 59 static uint32_t volatile g_cchRTAssertMsg2; 57 60 /** The last assert message, expression. */ 58 61 RTDATADECL(const char * volatile) g_pszRTAssertExpr; … … 188 191 189 192 190 RTDECL(void) RTAssertMsg2V(const char *pszFormat, va_list va) 193 /** 194 * Worker for RTAssertMsg2V and RTAssertMsg2AddV 195 * 196 * @param fInitial True if it's RTAssertMsg2V, otherwise false. 197 * @param pszFormat The message format string. 198 * @param va The format arguments. 199 */ 200 static void rtAssertMsg2Worker(bool fInitial, const char *pszFormat, va_list va) 191 201 { 192 202 va_list vaCopy; 203 size_t cch; 193 204 194 205 /* 195 206 * The global first. 196 207 */ 197 va_copy(vaCopy, va); 198 RTStrPrintfV(g_szRTAssertMsg2, sizeof(g_szRTAssertMsg2), pszFormat, vaCopy); 199 va_end(vaCopy); 208 if (fInitial) 209 { 210 va_copy(vaCopy, va); 211 cch = RTStrPrintfV(g_szRTAssertMsg2, sizeof(g_szRTAssertMsg2), pszFormat, vaCopy); 212 ASMAtomicWriteU32(&g_cchRTAssertMsg2, (uint32_t)cch); 213 va_end(vaCopy); 214 } 215 else 216 { 217 cch = ASMAtomicReadU32(&g_cchRTAssertMsg2); 218 if (cch < sizeof(g_szRTAssertMsg2) - 4) 219 { 220 va_copy(vaCopy, va); 221 cch += RTStrPrintfV(&g_szRTAssertMsg2[cch], sizeof(g_szRTAssertMsg2) - cch, pszFormat, vaCopy); 222 ASMAtomicWriteU32(&g_cchRTAssertMsg2, (uint32_t)cch); 223 va_end(vaCopy); 224 } 225 } 200 226 201 227 /* … … 211 237 # endif 212 238 /** @todo fully integrate this with the logger... play safe a bit for now. */ 213 rtR0AssertNativeMsg2V( pszFormat, va);239 rtR0AssertNativeMsg2V(fInitial, pszFormat, va); 214 240 215 241 #else /* !IN_RING0 */ … … 255 281 256 282 } 283 284 285 RTDECL(void) RTAssertMsg2V(const char *pszFormat, va_list va) 286 { 287 rtAssertMsg2Worker(true /*fInitial*/, pszFormat, va); 288 } 257 289 RT_EXPORT_SYMBOL(RTAssertMsg2V); 258 290 291 292 RTDECL(void) RTAssertMsg2AddV(const char *pszFormat, va_list va) 293 { 294 rtAssertMsg2Worker(false /*fInitial*/, pszFormat, va); 295 } 296 RT_EXPORT_SYMBOL(RTAssertMsg2AddV); 297 -
trunk/src/VBox/Runtime/include/internal/assert.h
r25528 r25536 53 53 * facility is best fitting. 54 54 * 55 * @param fInitial Whether it's the initial (true) or an additional (false) 56 * message. 55 57 * @param pszFormat Printf like format string. 56 58 * @param va Arguments to that string. 57 59 */ 58 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va);60 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va); 59 61 60 62 #endif -
trunk/src/VBox/Runtime/r0drv/darwin/assert-r0drv-darwin.cpp
r25528 r25536 54 54 55 55 56 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)56 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 57 57 { 58 58 char szMsg[256]; … … 61 61 szMsg[sizeof(szMsg) - 1] = '\0'; 62 62 printf("%s", szMsg); 63 64 NOREF(fInitial); 63 65 } 64 66 -
trunk/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c
r25533 r25536 51 51 52 52 53 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)53 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 54 54 { 55 55 char szMsg[256]; … … 58 58 szMsg[sizeof(szMsg) - 1] = '\0'; 59 59 printf("%s", szMsg); 60 61 NOREF(fInitial); 60 62 } 61 63 -
trunk/src/VBox/Runtime/r0drv/linux/assert-r0drv-linux.c
r25530 r25536 54 54 55 55 56 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)56 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 57 57 { 58 58 char szMsg[256]; … … 61 61 szMsg[sizeof(szMsg) - 1] = '\0'; 62 62 printk("%s", szMsg); 63 64 NOREF(fInitial); 63 65 } 64 66 -
trunk/src/VBox/Runtime/r0drv/nt/assert-r0drv-nt.cpp
r25533 r25536 51 51 52 52 53 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)53 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 54 54 { 55 55 char szMsg[256]; … … 58 58 szMsg[sizeof(szMsg) - 1] = '\0'; 59 59 DbgPrint("%s", szMsg); 60 61 NOREF(fInitial); 60 62 } 61 63 -
trunk/src/VBox/Runtime/r0drv/os2/assert-r0drv-os2.cpp
r25533 r25536 75 75 76 76 77 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)77 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 78 78 { 79 79 #if defined(DEBUG_bird) … … 88 88 cch += RTStrFormatV(rtR0Os2AssertOutputCB, &pch, NULL, NULL, pszFormat, va); 89 89 g_cchRTAssertMsg = cch; 90 91 NOREF(fInitial); 90 92 } 91 93 -
trunk/src/VBox/Runtime/r0drv/solaris/assert-r0drv-solaris.c
r25531 r25536 54 54 55 55 56 void rtR0AssertNativeMsg2V( const char *pszFormat, va_list va)56 void rtR0AssertNativeMsg2V(bool fInitial, const char *pszFormat, va_list va) 57 57 { 58 58 char szMsg[256]; … … 61 61 szMsg[sizeof(szMsg) - 1] = '\0'; 62 62 uprintf("%s", szMsg); 63 64 NOREF(fInitial); 63 65 } 64 66
Note:
See TracChangeset
for help on using the changeset viewer.