Changeset 80014 in vbox for trunk/src/VBox/Debugger/DBGCCmdHlp.cpp
- Timestamp:
- Jul 26, 2019 4:12:06 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCCmdHlp.cpp
r76553 r80014 1330 1330 PDBGC pDbgc = DBGC_CMDHLP2DBGC(pCmdHlp); 1331 1331 CPUMMODE enmMode = CPUMMODE_INVALID; 1332 if (pDbgc->fRegCtxGuest) 1333 { 1334 if (pDbgc->pUVM) 1335 enmMode = DBGFR3CpuGetMode(pDbgc->pUVM, DBGCCmdHlpGetCurrentCpu(pCmdHlp)); 1336 if (enmMode == CPUMMODE_INVALID) 1332 if (pDbgc->pUVM) 1333 enmMode = DBGFR3CpuGetMode(pDbgc->pUVM, DBGCCmdHlpGetCurrentCpu(pCmdHlp)); 1334 if (enmMode == CPUMMODE_INVALID) 1337 1335 #if HC_ARCH_BITS == 64 1338 1336 enmMode = CPUMMODE_LONG; 1339 1337 #else 1340 1338 enmMode = CPUMMODE_PROTECTED; 1341 1339 #endif 1342 }1343 else1344 enmMode = CPUMMODE_PROTECTED;1345 1340 return enmMode; 1346 1341 }
Note:
See TracChangeset
for help on using the changeset viewer.