VirtualBox

Changeset 21110 in vbox for trunk/include


Ignore:
Timestamp:
Jul 1, 2009 1:02:58 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49373
Message:

RTDbg: Some adjustments and fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dbg.h

    r20801 r21110  
    473473 *                          and address. Optional.
    474474 * @param   pSymInfo        Where to return the symbol info.
    475  */
    476 RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSymInfo);
     475 * @param   phMod           Where to return the module handle. Optional.
     476 */
     477RTDECL(int) RTDbgAsSymbolByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL pSymInfo, PRTDBGMOD phMod);
    477478
    478479/**
     
    489490 * @param   ppSymInfo       Where to return the pointer to the allocated symbol
    490491 *                          info. Always set. Free with RTDbgSymbolFree.
    491  */
    492 RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSymInfo);
     492 * @param   phMod           Where to return the module handle. Optional.
     493 */
     494RTDECL(int) RTDbgAsSymbolByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGSYMBOL *ppSymInfo, PRTDBGMOD phMod);
    493495
    494496/**
     
    499501 *
    500502 * @param   hDbgAs          The address space handle.
    501  * @param   pszSymbol       The symbol name.
    502  * @param   pSymInfo        Where to return the symbol info.
    503  */
    504 RTDECL(int) RTDbgAsSymbolByName(RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymInfo);
    505 
    506 /**
    507  * Query a symbol by name.
     503 * @param   pszSymbol       The symbol name. It is possible to limit the scope
     504 *                          of the search by prefixing the symbol with a module
     505 *                          name pattern followed by a bang (!) character.
     506 *                          RTStrSimplePatternNMatch is used for the matching.
     507 * @param   pSymbol         Where to return the symbol info.
     508 * @param   phMod           Where to return the module handle. Optional.
     509 */
     510RTDECL(int) RTDbgAsSymbolByName(RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod);
     511
     512/**
     513 * Query a symbol by name, allocating the returned symbol structure.
    508514 *
    509515 * @returns IPRT status code.
     
    511517 *
    512518 * @param   hDbgAs          The address space handle.
    513  * @param   pszSymbol       The symbol name.
    514  * @param   ppSymInfo       Where to return the pointer to the allocated symbol
    515  *                          info. Always set. Free with RTDbgSymbolFree.
    516  */
    517 RTDECL(int) RTDbgAsSymbolByNameA(RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL *ppSymInfo);
     519 * @param   pszSymbol       The symbol name. See RTDbgAsSymbolByName for more.
     520 * @param   ppSymbol        Where to return the pointer to the allocated
     521 *                          symbol info. Always set. Free with RTDbgSymbolFree.
     522 * @param   phMod           Where to return the module handle. Optional.
     523 */
     524RTDECL(int) RTDbgAsSymbolByNameA(RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL *ppSymbol, PRTDBGMOD phMod);
    518525
    519526/**
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