Ignore:
Timestamp:
Aug 23, 2007, 2:28:15 AM (18 years ago)
Author:
bird
Message:

hacking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kDbg/kDbgInternal.h

    r3530 r3534  
    4343    const char *pszName;
    4444
     45    /** Pointer to the next debug module readers.
     46     * This is only used for dynamically registered readers. */
     47    struct KDBGMODOPS  *pNext;
     48
     49    /**
     50     * Tries to open the module.
     51     *
     52     * @returns 0 on success, KDBG_ERR on failure.
     53     * @param   pFile           The file
     54     * @param   off             The file offset of the debug info. This is 0 if there isn't
     55     *                          any specfic debug info section and the reader should start
     56     *                          looking for debug info at the start of the file.
     57     * @param   cb              The size of the debug info in the file. INT64_MAX if we don't
     58     *                          know or there isn't any particular debug info section in the file.
     59     * @param   pLdrMod         The associated loader module. This can be NULL.
     60     * @param   ppMod           Where to store the module that's been opened.
     61     *
     62     * @remark  This is NULL for the builtin readers.
     63     */
     64    int (*pfnOpen)(PKDBGHLPFILE pFile, int64_t off, int64_t cb, PKLDRMOD pLdrMod, PKDBGMOD pMod);
     65
    4566    /**
    4667     * Closes the module.
     
    5879     * This will be approximated to the nearest symbol if there is no exact match.
    5980     *
    60      * @returns IPRT status code.
     81     * @returns 0 on success. KLDR_ERR_* on failure.
    6182     * @param   pMod        The module.
    6283     * @param   iSegment    The segment this offset is relative to.
     
    7394     * This will be approximated to the nearest line number there is no exact match.
    7495     *
    75      * @returns IPRT status code.
     96     * @returns 0 on success. KLDR_ERR_* on failure.
    7697     * @param   pMod        The module.
    7798     * @param   iSegment    The segment this offset is relative to.
     
    112133
    113134int kdbgModPEOpen(PKDBGHLPFILE pFile, KDBGADDR offHdr, const char *pszModulePath, PKDBGMOD *ppDbgMod);
    114 int kdbgModWinDbgHelpOpen(PKDBGHLPFILE pFile, KDBGADDR offHdr, const char *pszModulePath, PKDBGMOD *ppDbgMod);
     135int kdbgModWinDbgHelpOpen(PKDBGHLPFILE pFile, const char *pszModulePath, PKDBGMOD *ppDbgMod);
    115136
    116137#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.