Ignore:
Timestamp:
Aug 20, 2007, 5:42:03 AM (18 years ago)
Author:
bird
Message:

Made the generic pe module build too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kDbg/kDbgModule.cpp

    r3528 r3530  
    104104#ifdef IMAGE_NT_SIGNATURE
    105105        else if (Buf.au32[0] == IMAGE_NT_SIGNATURE)
     106        {
     107# ifdef KS_OS_WINDOWS
     108            rc = kdbgModWinDbgHelpOpen(pFile, offHdr, pszModulePath, ppDbgMod);
     109            if (    rc
     110                &&  !kdbgModPEOpen(pFile, offHdr, pszModulePath, ppDbgMod))
     111                rc = 0;
     112# endif
    106113            rc = kdbgModPEOpen(pFile, offHdr, pszModulePath, ppDbgMod);
     114        }
    107115#endif
    108116        /** @todo there are a number of text file formats too which I want to support. */
Note: See TracChangeset for help on using the changeset viewer.