VirtualBox

Changeset 33540 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

Location:
trunk/src/VBox/Debugger
Files:
12 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)
  • trunk/src/VBox/Debugger/DBGCInternal.h

    r31987 r33540  
    9393 * Named variable.
    9494 *
    95  * Always allocated from heap in one signle block.
     95 * Always allocated from heap in one single block.
    9696 */
    9797typedef struct DBGCNAMEDVAR
     
    172172    uint8_t             cPagingHierarchyDumps;
    173173
    174     /** Current dissassembler position. */
     174    /** Current disassembler position. */
    175175    DBGCVAR             DisasmPos;
    176176    /** Current source position. (flat GC) */
  • trunk/src/VBox/Debugger/DBGCOps.cpp

    r31928 r33540  
    141141
    142142/**
    143  * Switch the factors/whatver so we preserve pointers.
     143 * Switch the factors/whatever so we preserve pointers.
    144144 * Far pointers are considered more  important that physical and flat pointers.
    145145 *
     
    202202
    203203/**
    204  * Convers an argument to a number value.
     204 * Converts an argument to a number value.
    205205 *
    206206 * @returns VBox status code.
     
    299299
    300300/**
    301  * Pluss (unary).
     301 * Plus (unary).
    302302 *
    303303 * @returns VINF_SUCCESS on success.
     
    11031103
    11041104/**
    1105  * Subtration operator (binary).
     1105 * Subtraction operator (binary).
    11061106 *
    11071107 * @returns VINF_SUCCESS on success.
     
    16321632 * @param   pszExpr         Pointer to the expression string which might start with an operator.
    16331633 * @param   fPreferBinary   Whether to favour binary or unary operators.
    1634  *                          Caller must assert that it's the disired type! Both types will still
     1634 *                          Caller must assert that it's the desired type! Both types will still
    16351635 *                          be returned, this is only for resolving duplicates.
    16361636 * @param   chPrev          The previous char. Some operators requires a blank in front of it.
     
    16601660
    16611661            /*
    1662              * Prefered type?
     1662             * Preferred type?
    16631663             */
    16641664            if (g_aOps[iOp].fBinary == fPreferBinary)
  • trunk/src/VBox/Debugger/DBGCTcp.cpp

    r31530 r33540  
    269269
    270270/**
    271  * Terminates any running TCP base debugger consolse service.
     271 * Terminates any running TCP base debugger console service.
    272272 *
    273273 * @returns VBox status.
  • trunk/src/VBox/Debugger/DBGConsole.cpp

    r31987 r33540  
    5454 * @subsection sec_dbg_op_address       Addressing modes
    5555 *
    56  *      - Default is flat. For compatability '%' also means flat.
     56 *      - Default is flat. For compatibility '%' also means flat.
    5757 *      - Segmented addresses are specified selector:offset.
    5858 *      - Physical addresses are specified using '%%'.
     
    173173
    174174/**
    175  * Initalizes g_bmOperatorChars.
     175 * Initializes g_bmOperatorChars.
    176176 */
    177177static void dbgcInitOpCharBitMap(void)
     
    996996    }
    997997    else
    998         /* plain expression or using unary operators perhaps with paratheses. */
     998        /* plain expression or using unary operators perhaps with parentheses. */
    999999        rc = dbgcEvalSubUnary(pDbgc, pszExpr, cchExpr, pResult);
    10001000
     
    10931093            /*
    10941094             * When quoted we ignore everything but the quotation char.
    1095              * We use the REXX way of escaping the quotation char, i.e. double occurence.
     1095             * We use the REXX way of escaping the quotation char, i.e. double occurrence.
    10961096             */
    10971097            else if (ch == '\'' || ch == '"' || ch == '`')
  • trunk/src/VBox/Debugger/DBGPlugInCommonELF.h

    r31530 r33540  
    2525/** @name DBGDiggerCommonParseElf32Mod and DBGDiggerCommonParseElf64Mod flags
    2626 * @{ */
    27 /** Wheter to adjust the symbol values or not. */
     27/** Whether to adjust the symbol values or not. */
    2828#define DBG_DIGGER_ELF_ADJUST_SYM_VALUE     RT_BIT_32(0)
    2929/** Indicates that we're missing section headers and that
  • trunk/src/VBox/Debugger/DBGPlugInCommonELFTmpl.cpp.h

    r31530 r33540  
    156156
    157157    /*
    158      * Validate the symbol table and determin the max section index
     158     * Validate the symbol table and determine the max section index
    159159     * when DBG_DIGGER_ELF_FUNNY_SHDRS is flagged.
    160160     */
  • trunk/src/VBox/Debugger/VBoxDbgConsole.cpp

    r31530 r33540  
    257257
    258258    /*
    259      * The tab order is from input to output, not the otherway around as it is by default.
     259     * The tab order is from input to output, not the other way around as it is by default.
    260260     */
    261261    setTabOrder(m_pInput, m_pOutput);
  • trunk/src/VBox/Debugger/VBoxDbgGui.h

    r31530 r33540  
    113113    /**
    114114     * Update the desktop size.
    115      * This is called whenever the reference window changes positition.
     115     * This is called whenever the reference window changes position.
    116116     */
    117117    void updateDesktopSize();
     
    176176    /** The height of the window we're relative to. */
    177177    unsigned m_cy;
    178     /** The x-coordianate of the desktop. */
     178    /** The x-coordinate of the desktop. */
    179179    int m_xDesktop;
    180     /** The y-coordianate of the desktop. */
     180    /** The y-coordinate of the desktop. */
    181181    int m_yDesktop;
    182182    /** The size of the desktop. */
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt4.cpp

    r32787 r33540  
    209209     * It is vitally important that updateCallback is fed the data in the right
    210210     * order. The code make very definite ASSUMPTIONS about the ordering being
    211      * stricly sorted and taking the slash into account when doing so.
     211     * strictly sorted and taking the slash into account when doing so.
    212212     *
    213213     * @returns true if we reset the model and it's necessary to set the root index.
     
    406406
    407407    /**
    408      * Removes a node from the tree and destroys it and all its decentands.
     408     * Removes a node from the tree and destroys it and all its descendants.
    409409     *
    410410     * @param   pNode       The node.
     
    412412    static void removeAndDestroyNode(PDBGGUISTATSNODE pNode);
    413413
    414     /** Removes a node from the tree and destroys it and all its decentands
     414    /** Removes a node from the tree and destroys it and all its descendants
    415415     * performing the required Qt signalling. */
    416416    void removeAndDestroy(PDBGGUISTATSNODE pNode);
     
    429429     *
    430430     * @param   a_pNode     The node.
    431      * @param   a_rString   The string to append the strigified node to.
     431     * @param   a_rString   The string to append the stringified node to.
    432432     */
    433433    static void stringifyNodeNoRecursion(PDBGGUISTATSNODE a_pNode, QString &a_rString);
     
    439439     *
    440440     * @param   a_pNode     The node.
    441      * @param   a_rString   The string to append the strigified node to.
     441     * @param   a_rString   The string to append the stringified node to.
    442442     */
    443443    static void stringifyNode(PDBGGUISTATSNODE a_pNode, QString &a_rString);
     
    520520public:
    521521
    522     /** @name Overriden QAbstractItemModel methods
     522    /** @name Overridden QAbstractItemModel methods
    523523     * @{ */
    524524    virtual int columnCount(const QModelIndex &a_rParent) const;
     
    13091309        return NULL;
    13101310
    1311     /* decend to children. */
     1311    /* descend to children. */
    13121312    if (pNode->cChildren)
    13131313        return pNode->papChildren[0];
     
    13541354        return NULL;
    13551355
    1356     /* previous sibling's latest decendant (better expression anyone?). */
     1356    /* previous sibling's latest descendant (better expression anyone?). */
    13571357    if (pNode->iSelf > 0)
    13581358    {
     
    14181418     *
    14191419     * Might consider optimizing insertion at some later point since this
    1420      * is a normal occurance (dynamic statistics in PATM, IOM, MM, ++).
     1420     * is a normal occurrence (dynamic statistics in PATM, IOM, MM, ++).
    14211421     */
    14221422    Assert(pszName[0] == '/');
     
    16081608        if (pNode->cChildren)
    16091609        {
    1610             /* decend to the first child. */
     1610            /* descend to the first child. */
    16111611            Assert(m_cchUpdateParent + pNode->cchName + 2 < sizeof(m_szUpdateParent));
    16121612            memcpy(&m_szUpdateParent[m_cchUpdateParent], pNode->pszName, pNode->cchName);
     
    16531653        }
    16541654
    1655         /* decend to a node containing data and finalize the globals. (ASSUMES leaf has data.) */
     1655        /* descend to a node containing data and finalize the globals. (ASSUMES leaf has data.) */
    16561656        if (m_iUpdateChild != UINT32_MAX)
    16571657        {
     
    18071807         * Send dataChanged events.
    18081808         *
    1809          * We do this here instead of from the updateCallback because it lesses
     1809         * We do this here instead of from the updateCallback because it reduces
    18101810         * the clutter in that method and allow us to emit bulk signals in an
    18111811         * easier way because we can traverse the tree in a different fashion.
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt4.h

    r32181 r33540  
    3838 * The VM statistics tree view.
    3939 *
    40  * A tree represenation of the STAM statistics.
     40 * A tree representation of the STAM statistics.
    4141 */
    4242class VBoxDbgStatsView : public QTreeView, public VBoxDbgBase
  • trunk/src/VBox/Debugger/testcase/tstVBoxDbg.cpp

    r32190 r33540  
    107107
    108108    /*
    109      * Summay and exit.
     109     * Summary and exit.
    110110     */
    111111    if (!cErrors)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette