VirtualBox

Changeset 72268 in vbox


Ignore:
Timestamp:
May 20, 2018 11:29:26 PM (7 years ago)
Author:
vboxsync
Message:

DBGC: Only use DBGF_AS_RC_AND_GC_GLOBAL for !HM and !NEM.

Location:
trunk/src/VBox/Debugger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGConsole.cpp

    r69500 r72268  
    165165#include <VBox/vmm/vmapi.h> /* VMR3GetVM() */
    166166#include <VBox/vmm/hm.h>    /* HMR3IsEnabled */
     167#include <VBox/vmm/nem.h>   /* NEMR3IsEnabled */
    167168#include <VBox/err.h>
    168169#include <VBox/log.h>
     
    12101211    if (RT_FAILURE(rc))
    12111212        return rc;
    1212     if (!HMR3IsEnabled(pUVM))
     1213    if (!HMR3IsEnabled(pUVM) && !NEMR3IsEnabled(pUVM))
    12131214        pDbgc->hDbgAs = DBGF_AS_RC_AND_GC_GLOBAL;
    12141215
  • trunk/src/VBox/Debugger/testcase/tstDBGCStubs.cpp

    r69500 r72268  
    647647
    648648
     649#include <VBox/vmm/nem.h>
     650VMMR3DECL(bool) NEMR3IsEnabled(PUVM pUVM)
     651{
     652    return true;
     653}
     654
     655
    649656#include <VBox/vmm/pgm.h>
    650657
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