VirtualBox

Ignore:
Timestamp:
Dec 20, 2010 4:47:38 PM (14 years ago)
Author:
vboxsync
Message:

Debugger: Fixed memory editing commands.

File:
1 edited

Legend:

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

    r35163 r35253  
    37473747{
    37483748    PDBGC pDbgc = DBGC_CMDHLP2DBGC(pCmdHlp);
     3749    unsigned iArg;
    37493750
    37503751    /*
    37513752     * Validate input.
    37523753     */
    3753     if (     cArgs >= 2
     3754    if (     cArgs < 2
    37543755        ||  !DBGCVAR_ISPOINTER(paArgs[0].enmType))
    37553756        return DBGCCmdHlpFail(pCmdHlp, pCmd, "internal error: The parser doesn't do its job properly yet... It might help to use the '%%' operator.\n");
    3756     for (unsigned iArg = 2; iArg < cArgs; iArg++)
     3757    for (iArg = 1; iArg < cArgs; iArg++)
    37573758        if (paArgs[iArg].enmType != DBGCVAR_TYPE_NUMBER)
    37583759            return DBGCCmdHlpFail(pCmdHlp, pCmd, "internal error: The parser doesn't do its job properly yet: Arg #%u is not a number.\n", iArg);
     
    37773778     */
    37783779    DBGCVAR Addr = paArgs[0];
    3779     unsigned iArg = 1;
    3780     for (;;)
     3780    for (iArg = 1;;)
    37813781    {
    37823782        size_t cbWritten;
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