VirtualBox

Changeset 13306 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Oct 15, 2008 9:17:04 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37979
Message:

IPRT,++: some assert.h cleanup, making a suitable place to call panic() in ring-0.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp

    r13298 r13306  
    11/* $Id$ */
    22/** @file
    3  * IPRT - Assertions, generic RTAssertDoBreakpoint.
     3 * IPRT - Assertions, generic RTAssertShouldPanic.
    44 */
    55
     
    2929 */
    3030
    31 
    3231/*******************************************************************************
    3332*   Header Files                                                               *
     
    3635
    3736
    38 /**
    39  * Overridable function that decides whether assertions executes the breakpoint or not.
    40  *
    41  * The generic implementation will return true.
    42  *
    43  * @returns true if the breakpoint should be hit, false if it should be ignored.
    44  * @remark  The RTDECL() makes this a bit difficult to override on windows. Sorry.
    45  */
    46 RTDECL(bool)    RTAssertDoBreakpoint(void)
     37RTDECL(bool) RTAssertShouldPanic(void)
    4738{
    4839    return true;
Note: See TracChangeset for help on using the changeset viewer.

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