VirtualBox

Changeset 47060 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 9, 2013 5:05:16 PM (12 years ago)
Author:
vboxsync
Message:

KLDRMOD_OPEN_FLAGS_FOR_INFO

File:
1 edited

Legend:

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

    r46266 r47060  
    890890            return VERR_INVALID_PARAMETER;
    891891    }
     892    KU32 fKFlags = 0;
     893#ifdef KLDRMOD_OPEN_FLAGS_FOR_INFO
     894    if (fFlags & RTLDR_O_FOR_DEBUG)
     895        fKFlags |= KLDRMOD_OPEN_FLAGS_FOR_INFO;
     896#endif
    892897
    893898    /* Create a rtkldrRdr_ instance. */
     
    901906    /* Try open it. */
    902907    PKLDRMOD pMod;
    903     int krc = kLdrModOpenFromRdr(&pRdr->Core, fFlags, enmCpuArch, &pMod);
     908    int krc = kLdrModOpenFromRdr(&pRdr->Core, fKFlags, enmCpuArch, &pMod);
    904909    if (!krc)
    905910    {
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