Changeset 35253 in vbox for trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
- Timestamp:
- Dec 20, 2010 4:47:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r35163 r35253 3747 3747 { 3748 3748 PDBGC pDbgc = DBGC_CMDHLP2DBGC(pCmdHlp); 3749 unsigned iArg; 3749 3750 3750 3751 /* 3751 3752 * Validate input. 3752 3753 */ 3753 if ( cArgs >=23754 if ( cArgs < 2 3754 3755 || !DBGCVAR_ISPOINTER(paArgs[0].enmType)) 3755 3756 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++) 3757 3758 if (paArgs[iArg].enmType != DBGCVAR_TYPE_NUMBER) 3758 3759 return DBGCCmdHlpFail(pCmdHlp, pCmd, "internal error: The parser doesn't do its job properly yet: Arg #%u is not a number.\n", iArg); … … 3777 3778 */ 3778 3779 DBGCVAR Addr = paArgs[0]; 3779 unsigned iArg = 1; 3780 for (;;) 3780 for (iArg = 1;;) 3781 3781 { 3782 3782 size_t cbWritten;
Note:
See TracChangeset
for help on using the changeset viewer.