Changeset 33540 in vbox for trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r32036 r33540 1058 1058 unsigned cTries = 32; 1059 1059 int iRangeLeft = (int)pDbgc->DisasmPos.u64Range; 1060 if (iRangeLeft == 0) /* klu gde for 'r'. */1060 if (iRangeLeft == 0) /* kludge for 'r'. */ 1061 1061 iRangeLeft = -1; 1062 1062 for (;;) … … 1205 1205 DBGFLINE LinePrev = { 0, 0, "" }; 1206 1206 int iRangeLeft = (int)pDbgc->SourcePos.u64Range; 1207 if (iRangeLeft == 0) /* klu gde for 'r'. */1207 if (iRangeLeft == 0) /* kludge for 'r'. */ 1208 1208 iRangeLeft = -1; 1209 1209 for (;;) … … 1744 1744 else 1745 1745 { 1746 RTGCINTPTR offDisp = pFrame->AddrPC.FlatPtr - pFrame->pSymPC->Value; /** @todo this isn't 100% correct for seg emnted stuff. */1746 RTGCINTPTR offDisp = pFrame->AddrPC.FlatPtr - pFrame->pSymPC->Value; /** @todo this isn't 100% correct for segmented stuff. */ 1747 1747 if (offDisp > 0) 1748 1748 rc = pCmdHlp->pfnPrintf(pCmdHlp, NULL, " %s+%llx", pFrame->pSymPC->szName, (int64_t)offDisp); … … 2107 2107 { 2108 2108 /* 2109 * Retri ve the selector value from the argument.2109 * Retrieve the selector value from the argument. 2110 2110 * The parser may confuse pointers and numbers if more than one 2111 2111 * argument is given, that that into account. 2112 2112 */ 2113 /* check that what 've got makes sense as we don't trust the parser yet. */2113 /* check that what we got makes sense as we don't trust the parser yet. */ 2114 2114 if ( paArgs[i].enmType != DBGCVAR_TYPE_NUMBER 2115 2115 && !DBGCVAR_ISPOINTER(paArgs[i].enmType)) … … 2241 2241 for (unsigned i = 0; i < cArgs; i++) 2242 2242 { 2243 /* check that what 've got makes sense as we don't trust the parser yet. */2243 /* check that what we got makes sense as we don't trust the parser yet. */ 2244 2244 if (paArgs[i].enmType != DBGCVAR_TYPE_NUMBER) 2245 2245 return pCmdHlp->pfnPrintf(pCmdHlp, NULL, "error: arg #%u isn't of number type but %d.\n", i, paArgs[i].enmType); … … 2515 2515 * @param pfPSE Where to store the page size extension indicator. 2516 2516 * @param pfPGE Where to store the page global enabled indicator. 2517 * @param pfNXE Where to store the no-execution enabled in idicator.2517 * @param pfNXE Where to store the no-execution enabled indicator. 2518 2518 */ 2519 2519 static RTGCPHYS dbgcGetGuestPageMode(PDBGC pDbgc, bool *pfPAE, bool *pfLME, bool *pfPSE, bool *pfPGE, bool *pfNXE) … … 2546 2546 * @param pfPSE Where to store the page size extension indicator. 2547 2547 * @param pfPGE Where to store the page global enabled indicator. 2548 * @param pfNXE Where to store the no-execution enabled in idicator.2548 * @param pfNXE Where to store the no-execution enabled indicator. 2549 2549 */ 2550 2550 static RTHCPHYS dbgcGetShadowPageMode(PDBGC pDbgc, bool *pfPAE, bool *pfLME, bool *pfPSE, bool *pfPGE, bool *pfNXE) … … 2621 2621 2622 2622 /* 2623 * Setup default ar ugment if none was specified.2623 * Setup default argument if none was specified. 2624 2624 * Fix address / index confusion. 2625 2625 */ … … 2685 2685 { 2686 2686 /* 2687 * Determin the range.2687 * Determine the range. 2688 2688 */ 2689 2689 switch (paArgs[0].enmRangeType) … … 3059 3059 { 3060 3060 /* 3061 * Determin the range.3061 * Determine the range. 3062 3062 */ 3063 3063 switch (paArgs[0].enmRangeType) … … 3350 3350 3351 3351 /* 3352 * Determin the TSS type if none is currently given.3352 * Determine the TSS type if none is currently given. 3353 3353 */ 3354 3354 if (enmTssType == kTssToBeDetermined) … … 4024 4024 4025 4025 /* 4026 * Repeat eprevious search?4026 * Repeat previous search? 4027 4027 */ 4028 4028 if (cArgs == 0)
Note:
See TracChangeset
for help on using the changeset viewer.