VirtualBox

Changeset 82856 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Jan 25, 2020 1:16:15 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135831
Message:

IPRT/assert-r0drv-darwin.cpp: Make sure we get the output to the debugger. Removed 'temporary' breakpoint instruction and let the code enter panic() instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/assert-r0drv-darwin.cpp

    r77120 r82856  
    4444{
    4545    IPRT_DARWIN_SAVE_EFL_AC();
     46    kprintf("\r\n!!Assertion Failed!!\r\n"
     47            "Expression: %s\r\n"
     48            "Location  : %s(%u) %s\r\n",
     49            pszExpr, pszFile, uLine, pszFunction);
    4650    printf("\r\n!!Assertion Failed!!\r\n"
    4751           "Expression: %s\r\n"
     
    5963    RTStrPrintfV(szMsg, sizeof(szMsg) - 1, pszFormat, va);
    6064    szMsg[sizeof(szMsg) - 1] = '\0';
     65    kprintf("%s", szMsg);
    6166    printf("%s", szMsg);
    6267
     
    6873RTR0DECL(void) RTR0AssertPanicSystem(void)
    6974{
    70 ASMBreakpoint();// temp
    7175    panic("%s%s", g_szRTAssertMsg1, g_szRTAssertMsg2);
    7276}
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