VirtualBox

Changeset 8824 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 14, 2008 10:12:13 PM (17 years ago)
Author:
vboxsync
Message:

Don't assert on VERR_REM_TOO_MANY_TRAPS and make the debugger go into guest mode instead of hyper mode when seeing it.

File:
1 edited

Legend:

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

    r8155 r8824  
    610610             * Guru meditation.
    611611             */
     612            case VERR_REM_TOO_MANY_TRAPS: /** @todo Make a guru mediation event! */
     613                rc = DBGFR3EventSrc(pVM, DBGFEVENT_DEV_STOP, "VERR_REM_TOO_MANY_TRAPS", 0, NULL, NULL);
     614                break;
     615
    612616            default: /** @todo don't use default for guru, but make special errors code! */
    613617                rc = DBGFR3Event(pVM, DBGFEVENT_FATAL_ERROR);
     
    813817                 * and the termination of the VM!
    814818                 */
    815                 AssertMsgFailed(("Unknown GC return code: %Vra\n", rc));
     819                AssertMsg(rc == VERR_REM_TOO_MANY_TRAPS, ("Unknown GC return code: %Vra\n", rc));
    816820                break;
    817821            }
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