VirtualBox

Changeset 5365 in vbox


Ignore:
Timestamp:
Oct 17, 2007 6:37:05 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25430
Message:

Fixed DISInstr return check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMM.cpp

    r4979 r5365  
    14851485                uint32_t cbInstr = 0;
    14861486                char szDisas[256];
    1487                 if (DISInstr(&Cpu, (RTUINTPTR)pu8CodeR3 + offCode, uBase - (RTUINTPTR)pu8CodeR3, &cbInstr, szDisas))
     1487                if (RT_SUCCESS(DISInstr(&Cpu, (RTUINTPTR)pu8CodeR3 + offCode, uBase - (RTUINTPTR)pu8CodeR3, &cbInstr, szDisas)))
    14881488                    RTLogPrintf("  %04x: %s", offCode, szDisas); //for whatever reason szDisas includes '\n'.
    14891489                else
Note: See TracChangeset for help on using the changeset viewer.

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