Changeset 46165 in vbox for trunk/include/iprt
- Timestamp:
- May 19, 2013 7:07:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/dbg.h
r46161 r46165 851 851 852 852 /** 853 * Query a line number by address.854 *855 * @returns IPRT status code. See RTDbgModSymbolAddrA for more specific ones.856 * @retval VERR_INVALID_HANDLE if hDbgAs is invalid.857 * @retval VERR_NOT_FOUND if the address couldn't be mapped to a module.858 *859 * @param hDbgAs The address space handle.860 * @param Addr The address which closest symbol is requested.861 * @param poffDisp Where to return the distance between the line862 * number and address.863 * @param pLine Where to return the line number information.864 */865 RTDECL(int) RTDbgAsLineByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGLINE pLine);866 867 /**868 853 * Adds a line number to a module in the address space. 869 854 * 870 * @returns IPRT status code. See RTDbgMod SymbolAdd for more specific ones.855 * @returns IPRT status code. See RTDbgModLineAdd for more specific ones. 871 856 * @retval VERR_INVALID_HANDLE if hDbgAs is invalid. 872 857 * @retval VERR_NOT_FOUND if no module was found at the specified address. … … 884 869 RTDECL(int) RTDbgAsLineAdd(RTDBGAS hDbgAs, const char *pszFile, uint32_t uLineNo, RTUINTPTR Addr, uint32_t *piOrdinal); 885 870 886 887 871 /** 888 872 * Query a line number by address. 889 873 * 890 * @returns IPRT status code. See RTDbgMod SymbolAddrA for more specific ones.874 * @returns IPRT status code. See RTDbgModLineAddrA for more specific ones. 891 875 * @retval VERR_INVALID_HANDLE if hDbgAs is invalid. 892 876 * @retval VERR_NOT_FOUND if the address couldn't be mapped to a module. … … 897 881 * number and address. 898 882 * @param pLine Where to return the line number information. 899 */ 900 RTDECL(int) RTDbgAsLineByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGLINE pLine); 883 * @param phMod Where to return the module handle. Optional. 884 */ 885 RTDECL(int) RTDbgAsLineByAddr(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGLINE pLine, PRTDBGMOD phMod); 901 886 902 887 /** 903 888 * Query a line number by address. 904 889 * 905 * @returns IPRT status code. See RTDbgMod SymbolAddrA for more specific ones.890 * @returns IPRT status code. See RTDbgModLineAddrA for more specific ones. 906 891 * @retval VERR_INVALID_HANDLE if hDbgAs is invalid. 907 892 * @retval VERR_NOT_FOUND if the address couldn't be mapped to a module. … … 913 898 * @param ppLine Where to return the pointer to the allocated line 914 899 * number info. Always set. Free with RTDbgLineFree. 915 */ 916 RTDECL(int) RTDbgAsLineByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGLINE *ppLine); 900 * @param phMod Where to return the module handle. Optional. 901 */ 902 RTDECL(int) RTDbgAsLineByAddrA(RTDBGAS hDbgAs, RTUINTPTR Addr, PRTINTPTR poffDisp, PRTDBGLINE *ppLine, PRTDBGMOD phMod); 917 903 918 904 /** @todo Missing some bits here. */
Note:
See TracChangeset
for help on using the changeset viewer.