VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

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

    r32036 r33540  
    10581058    unsigned    cTries = 32;
    10591059    int         iRangeLeft = (int)pDbgc->DisasmPos.u64Range;
    1060     if (iRangeLeft == 0)                /* klugde for 'r'. */
     1060    if (iRangeLeft == 0)                /* kludge for 'r'. */
    10611061        iRangeLeft = -1;
    10621062    for (;;)
     
    12051205    DBGFLINE    LinePrev = { 0, 0, "" };
    12061206    int         iRangeLeft = (int)pDbgc->SourcePos.u64Range;
    1207     if (iRangeLeft == 0)                /* klugde for 'r'. */
     1207    if (iRangeLeft == 0)                /* kludge for 'r'. */
    12081208        iRangeLeft = -1;
    12091209    for (;;)
     
    17441744        else
    17451745        {
    1746             RTGCINTPTR offDisp = pFrame->AddrPC.FlatPtr - pFrame->pSymPC->Value; /** @todo this isn't 100% correct for segemnted stuff. */
     1746            RTGCINTPTR offDisp = pFrame->AddrPC.FlatPtr - pFrame->pSymPC->Value; /** @todo this isn't 100% correct for segmented stuff. */
    17471747            if (offDisp > 0)
    17481748                rc = pCmdHlp->pfnPrintf(pCmdHlp, NULL, " %s+%llx", pFrame->pSymPC->szName, (int64_t)offDisp);
     
    21072107    {
    21082108         /*
    2109           * Retrive the selector value from the argument.
     2109          * Retrieve the selector value from the argument.
    21102110          * The parser may confuse pointers and numbers if more than one
    21112111          * argument is given, that that into account.
    21122112          */
    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. */
    21142114        if (    paArgs[i].enmType != DBGCVAR_TYPE_NUMBER
    21152115            &&  !DBGCVAR_ISPOINTER(paArgs[i].enmType))
     
    22412241    for (unsigned i = 0; i < cArgs; i++)
    22422242    {
    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. */
    22442244        if (paArgs[i].enmType != DBGCVAR_TYPE_NUMBER)
    22452245            return pCmdHlp->pfnPrintf(pCmdHlp, NULL, "error: arg #%u isn't of number type but %d.\n", i, paArgs[i].enmType);
     
    25152515 * @param   pfPSE   Where to store the page size extension indicator.
    25162516 * @param   pfPGE   Where to store the page global enabled indicator.
    2517  * @param   pfNXE   Where to store the no-execution enabled inidicator.
     2517 * @param   pfNXE   Where to store the no-execution enabled indicator.
    25182518 */
    25192519static RTGCPHYS dbgcGetGuestPageMode(PDBGC pDbgc, bool *pfPAE, bool *pfLME, bool *pfPSE, bool *pfPGE, bool *pfNXE)
     
    25462546 * @param   pfPSE   Where to store the page size extension indicator.
    25472547 * @param   pfPGE   Where to store the page global enabled indicator.
    2548  * @param   pfNXE   Where to store the no-execution enabled inidicator.
     2548 * @param   pfNXE   Where to store the no-execution enabled indicator.
    25492549 */
    25502550static RTHCPHYS dbgcGetShadowPageMode(PDBGC pDbgc, bool *pfPAE, bool *pfLME, bool *pfPSE, bool *pfPGE, bool *pfNXE)
     
    26212621
    26222622    /*
    2623      * Setup default arugment if none was specified.
     2623     * Setup default argument if none was specified.
    26242624     * Fix address / index confusion.
    26252625     */
     
    26852685    {
    26862686        /*
    2687          * Determin the range.
     2687         * Determine the range.
    26882688         */
    26892689        switch (paArgs[0].enmRangeType)
     
    30593059    {
    30603060        /*
    3061          * Determin the range.
     3061         * Determine the range.
    30623062         */
    30633063        switch (paArgs[0].enmRangeType)
     
    33503350
    33513351    /*
    3352      * Determin the TSS type if none is currently given.
     3352     * Determine the TSS type if none is currently given.
    33533353     */
    33543354    if (enmTssType == kTssToBeDetermined)
     
    40244024
    40254025    /*
    4026      * Repeate previous search?
     4026     * Repeat previous search?
    40274027     */
    40284028    if (cArgs == 0)
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