儲存庫 vbox 的更動 12435
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/VBox/dbggui.h
r12424 r12435 69 69 * The first byte is the minor version, the 2nd byte is major version number. 70 70 * The high 16-bit word is a magic. */ 71 #define DBGGUIVT_VERSION 0xbead0100 71 #define DBGGUIVT_VERSION UINT32_C(0xbead0100) 72 /** Macro for determining whether two versions are compatible or not. 73 * @returns boolean result. 74 * @param uVer1 The first version number. 75 * @param uVer2 The second version number. 76 */ 77 #define DBGGUIVT_ARE_VERSIONS_COMPATIBLE(uVer1, uVer2) \ 78 ( ((uVer1) & UINT32_C(0xffffff00)) == ((uVer2) & UINT32_C(0xffffff00)) ) 72 79 73 80 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r12424 r12435 270 270 dbgStatisticsAction = new QAction (this); 271 271 dbgCommandLineAction = new QAction (this); 272 if (vboxGlobal().getDebuggerModule()== NIL_RTLDRMOD) 273 { 274 dbgStatisticsAction->setEnabled (false); 275 dbgCommandLineAction->setEnabled (false); 276 } 272 277 dbgLoggingAction = new QAction (this); 273 278 dbgLoggingAction->setCheckable (true); 274 dbgLoggingAction->setIcon (VBoxGlobal::iconSet (":/start_16px.png")); /// @todo find the default check boxes.275 279 } 276 280 else … … 3462 3466 if (RT_SUCCESS (rc)) 3463 3467 { 3464 dbgAdjustRelativePos(); 3465 return true; 3466 } 3467 LogRel(("DBGGuiCreate failed, rc=%Rrc\n", rc)); 3468 if ( DBGGUIVT_ARE_VERSIONS_COMPATIBLE(mDbgGuiVT->u32Version, DBGGUIVT_VERSION) 3469 || mDbgGuiVT->u32EndVersion != mDbgGuiVT->u32Version) 3470 { 3471 dbgAdjustRelativePos(); 3472 return true; 3473 } 3474 3475 LogRel(("DBGGuiCreate failed, incompatible versions (loaded %#x/%#x, expected %#x)\n", 3476 mDbgGuiVT->u32Version, mDbgGuiVT->u32EndVersion, DBGGUIVT_VERSION)); 3477 } 3478 else 3479 LogRel(("DBGGuiCreate failed, rc=%Rrc\n", rc)); 3468 3480 } 3469 3481 else
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器