VirtualBox

vbox的更動 64592 路徑 trunk/src/VBox/Debugger


忽略:
時間撮記:
2016-11-6 下午07:17:52 (8 年 以前)
作者:
vboxsync
訊息:

Debugger/CodeView: Fix for the no branch tables existing case

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp

    r64591 r64592  
    16421642    }
    16431643
    1644     idx = 0;
    1645     DBGFFLOWBRANCHTBL hFlowBranchTbl = DBGFR3FlowBranchTblItNext(hFlowBranchTblIt);
    1646     while (hFlowBranchTbl)
    1647     {
    1648         paDumpBranchTbl[idx].hFlowBranchTbl = hFlowBranchTbl;
    1649         paDumpBranchTbl[idx].cchHeight      = DBGFR3FlowBranchTblGetSlots(hFlowBranchTbl) + 4; /* Spacing and border. */
    1650         paDumpBranchTbl[idx].cchWidth       = 25 + 4; /* Spacing and border. */
    1651         idx++;
    1652         hFlowBranchTbl = DBGFR3FlowBranchTblItNext(hFlowBranchTblIt);
     1644    if (paDumpBranchTbl)
     1645    {
     1646        idx = 0;
     1647        DBGFFLOWBRANCHTBL hFlowBranchTbl = DBGFR3FlowBranchTblItNext(hFlowBranchTblIt);
     1648        while (hFlowBranchTbl)
     1649        {
     1650            paDumpBranchTbl[idx].hFlowBranchTbl = hFlowBranchTbl;
     1651            paDumpBranchTbl[idx].cchHeight      = DBGFR3FlowBranchTblGetSlots(hFlowBranchTbl) + 4; /* Spacing and border. */
     1652            paDumpBranchTbl[idx].cchWidth       = 25 + 4; /* Spacing and border. */
     1653            idx++;
     1654            hFlowBranchTbl = DBGFR3FlowBranchTblItNext(hFlowBranchTblIt);
     1655        }
    16531656    }
    16541657
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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