VirtualBox

Changeset 8953 in vbox for trunk/src


Ignore:
Timestamp:
May 20, 2008 1:55:09 PM (17 years ago)
Author:
vboxsync
Message:

Ring-0 assertions are now always printed to the debug log.
Introduced LogAlways for this purpose.

File:
1 edited

Legend:

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

    r8841 r8953  
    10871087
    10881088
    1089 # undef LOG_GROUP
    1090 # define LOG_GROUP LOG_GROUP_EM
    1091 
    10921089/**
    10931090 * Override this so we can push
     
    11071104                pszExpr, pszFile, uLine, pszFunction);
    11081105#endif
    1109     LogRel(("\n!!R0-Assertion Failed!!\n"
    1110             "Expression: %s\n"
    1111             "Location  : %s(%d) %s\n",
    1112             pszExpr, pszFile, uLine, pszFunction));
     1106    LogAlways(("\n!!R0-Assertion Failed!!\n"
     1107               "Expression: %s\n"
     1108               "Location  : %s(%d) %s\n",
     1109               pszExpr, pszFile, uLine, pszFunction));
    11131110}
    11141111
     
    11221119    for (size_t i = 0; i < cbChars; i++)
    11231120    {
    1124         LogRel(("%c", pachChars[i])); /** @todo this isn't any release logging in ring-0 from what I can tell... */
     1121        LogAlways(("%c", pachChars[i])); /** @todo this isn't any release logging in ring-0 from what I can tell... */
    11251122#ifndef DEBUG_sandervl
    11261123        SUPR0Printf("%c", pachChars[i]);
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