VirtualBox

Changeset 3312 in vbox for trunk/src


Ignore:
Timestamp:
Jun 27, 2007 11:24:46 AM (18 years ago)
Author:
vboxsync
Message:

Always enable the assertion overrides in ring 0. (!!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r3238 r3312  
    5858
    5959
    60 #ifdef DEBUG
    6160#define DEBUG_NO_RING0_ASSERTIONS
    6261#ifdef DEBUG_NO_RING0_ASSERTIONS
    6362static PVM g_pVMAssert = 0;
    64 #endif
    6563#endif
    6664
     
    745743
    746744
    747 /*
    748  * Keep this private until it writes to the release log.
    749  */
    750 #ifdef DEBUG_sandervl
    751 
    752745# undef LOG_GROUP
    753746# define LOG_GROUP LOG_GROUP_EM
     
    756749DECLEXPORT(void) RTCALL AssertMsg1(const char *pszExpr, unsigned uLine, const char *pszFile, const char *pszFunction)
    757750{
    758     Log(("\n!!R0-Assertion Failed!!\n"
     751    LogRel(("\n!!R0-Assertion Failed!!\n"
    759752         "Expression: %s\n"
    760753         "Location  : %s(%d) %s\n",
     
    769762{
    770763    for (size_t i=0;i<cbChars;i++)
    771         Log(("%c", pachChars[i]));
     764        LogRel(("%c", pachChars[i]));
    772765
    773766    return cbChars;
     
    787780    }
    788781}
    789 
    790 #endif /* private */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette