Changeset 35439 in vbox for trunk/src/VBox/Debugger
- Timestamp:
- Jan 9, 2011 11:39:53 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 69310
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCOps.cpp
r35346 r35439 53 53 static DECLCALLBACK(int) dbgcOpBitwiseNot(PDBGC pDbgc, PCDBGCVAR pArg, PDBGCVAR pResult); 54 54 static DECLCALLBACK(int) dbgcOpVar(PDBGC pDbgc, PCDBGCVAR pArg, PDBGCVAR pResult); 55 static DECLCALLBACK(int) dbgcOpRegister(PDBGC pDbgc, PCDBGCVAR pArg, PDBGCVAR pResult); 55 56 56 57 static DECLCALLBACK(int) dbgcOpAddrFar(PDBGC pDbgc, PCDBGCVAR pArg1, PCDBGCVAR pArg2, PDBGCVAR pResult); … … 180 181 { {'#','%','%'}, 3, false, 3, dbgcOpAddrHostPhys, NULL, "Physical host address." }, 181 182 { {'$'}, 1, false, 3, dbgcOpVar, NULL, "Reference a variable." }, 183 { {'@'}, 1, false, 3, dbgcOpRegister, NULL, "Reference a register." }, 182 184 { {'*'}, 1, true, 10, NULL, dbgcOpMult, "Multiplication." }, 183 185 { {'/'}, 1, true, 11, NULL, dbgcOpDiv, "Division." }, … … 466 468 467 469 return VERR_PARSE_VARIABLE_NOT_FOUND; 470 } 471 472 473 /** 474 * Reference register (unary). 475 * 476 * @returns VINF_SUCCESS on success. 477 * @returns VBox evaluation / parsing error code on failure. 478 * The caller does the bitching. 479 * @param pDbgc Debugger console instance data. 480 * @param pArg The argument. 481 * @param pResult Where to store the result. 482 */ 483 static DECLCALLBACK(int) dbgcOpRegister(PDBGC pDbgc, PCDBGCVAR pArg, PDBGCVAR pResult) 484 { 485 LogFlow(("dbgcOpRegister: %s\n", pArg->u.pszString)); 486 487 /* 488 * Parse sanity. 489 */ 490 if (pArg->enmType != DBGCVAR_TYPE_STRING) 491 return VERR_PARSE_INCORRECT_ARG_TYPE; 492 493 /* 494 * Get the register. 495 */ 496 /// @todo DBGFR3RegByName(); 497 return VERR_NOT_IMPLEMENTED; 498 468 499 } 469 500
Note:
See TracChangeset
for help on using the changeset viewer.