Changeset 65395 in vbox
- Timestamp:
- Jan 20, 2017 7:59:32 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112991
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r65394 r65395 2527 2527 { 2528 2528 uint8_t u8Adv = (255 - pLnState->Hdr.u8OpcodeBase) / pLnState->Hdr.u8LineRange; 2529 2530 if (pLnState->Hdr.cMaxOpsPerInstr < 2) 2531 pLnState->Regs.uAddress += pLnState->Hdr.cbMinInstr * u8Adv; 2529 if (pLnState->Hdr.cMaxOpsPerInstr <= 1) 2530 pLnState->Regs.uAddress += (uint32_t)pLnState->Hdr.cbMinInstr * u8Adv; 2532 2531 else 2533 2532 { 2534 pLnState->Regs.uAddress += pLnState->Hdr.cbMinInstr2535 * ((pLnState->Regs.idxOp + u8Adv) / pLnState->Hdr.cMaxOpsPerInstr);2536 pLnState->Regs.idxOp = (pLnState->Regs.idxOp + u8Adv) % pLnState->Hdr.cMaxOpsPerInstr;2533 pLnState->Regs.uAddress += (pLnState->Regs.idxOp + u8Adv) / pLnState->Hdr.cMaxOpsPerInstr 2534 * pLnState->Hdr.cbMinInstr; 2535 pLnState->Regs.idxOp = (pLnState->Regs.idxOp + u8Adv) % pLnState->Hdr.cMaxOpsPerInstr; 2537 2536 } 2538 2537 Log2(("%08x: DW_LNS_const_add_pc\n", offOpCode));
Note:
See TracChangeset
for help on using the changeset viewer.