VirtualBox

Changeset 65395 in vbox


Ignore:
Timestamp:
Jan 20, 2017 7:59:32 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112991
Message:

Runtime/common/dbg/dbgmoddwarf.cpp: style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp

    r65394 r65395  
    25272527                {
    25282528                    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;
    25322531                    else
    25332532                    {
    2534                         pLnState->Regs.uAddress += pLnState->Hdr.cbMinInstr
    2535                                                  * ((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;
    25372536                    }
    25382537                    Log2(("%08x: DW_LNS_const_add_pc\n", offOpCode));
Note: See TracChangeset for help on using the changeset viewer.

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