VirtualBox

Changeset 46273 in vbox for trunk/src


Ignore:
Timestamp:
May 26, 2013 10:38:33 PM (12 years ago)
Author:
vboxsync
Message:

ldr.h,ldrPE.cpp: Report COFF debug type. Correctly report cbImage for CodeView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp

    r46266 r46273  
    11861186            case IMAGE_DEBUG_TYPE_CODEVIEW:
    11871187                DbgInfo.enmType = RTLDRDBGINFOTYPE_CODEVIEW;
     1188                DbgInfo.u.Cv.cbImage    = pModPe->cbImage;
    11881189                DbgInfo.u.Cv.uMajorVer  = paDbgDir[i].MajorVersion;
    11891190                DbgInfo.u.Cv.uMinorVer  = paDbgDir[i].MinorVersion;
     
    12641265                break;
    12651266
     1267            case IMAGE_DEBUG_TYPE_COFF:
     1268                DbgInfo.enmType = RTLDRDBGINFOTYPE_COFF;
     1269                DbgInfo.u.Coff.cbImage    = pModPe->cbImage;
     1270                DbgInfo.u.Coff.uMajorVer  = paDbgDir[i].MajorVersion;
     1271                DbgInfo.u.Coff.uMinorVer  = paDbgDir[i].MinorVersion;
     1272                DbgInfo.u.Coff.uTimestamp = paDbgDir[i].TimeDateStamp;
     1273                break;
     1274
    12661275            default:
    12671276                DbgInfo.enmType = RTLDRDBGINFOTYPE_UNKNOWN;
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