Changeset 46165 in vbox for trunk/include
- Timestamp:
- May 19, 2013 7:07:50 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85865
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r45485 r46165 379 379 VMMDECL(PCPUMCTX) CPUMQueryGuestCtxPtr(PVMCPU pVCpu); 380 380 VMMDECL(PCCPUMCTXCORE) CPUMGetGuestCtxCore(PVMCPU pVCpu); 381 VMM R3DECL(int) CPUMR3RawEnter(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore);382 VMM R3DECL(int) CPUMR3RawLeave(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, int rc);381 VMM_INT_DECL(int) CPUMRawEnter(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore); 382 VMM_INT_DECL(int) CPUMRawLeave(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, int rc); 383 383 VMMDECL(uint32_t) CPUMRawGetEFlags(PVMCPU pVCpu); 384 384 VMMDECL(void) CPUMRawSetEFlags(PVMCPU pVCpu, uint32_t fEfl); -
trunk/include/VBox/vmm/dbgf.h
r46159 r46165 677 677 VMMR3DECL(int) DBGFR3AsSymbolByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod); 678 678 679 VMMR3DECL(int) DBGFR3AsLineByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, 680 PRTGCINTPTR poffDisp, PRTDBGLINE pLine, PRTDBGMOD phMod); 681 VMMR3DECL(PRTDBGLINE) DBGFR3AsLineByAddrA(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, 682 PRTGCINTPTR poffDisp, PRTDBGMOD phMod); 683 679 684 /* The following are soon to be obsoleted: */ 680 685 VMMR3DECL(int) DBGFR3ModuleLoad(PUVM pUVM, const char *pszFilename, RTGCUINTPTR AddressDelta, const char *pszName, RTGCUINTPTR ModuleAddress, unsigned cbImage); 681 VMMR3_INT_DECL(void) DBGFR3ModuleRelocate(PVM pVM, RTGCUINTPTR OldImageBase, RTGCUINTPTR NewImageBase, RTGCUINTPTR cbImage,682 const char *pszFilename, const char *pszName);683 686 VMMR3_INT_DECL(int) DBGFR3SymbolAdd(PVM pVM, RTGCUINTPTR ModuleAddress, RTGCUINTPTR SymbolAddress, RTUINT cbSymbol, const char *pszSymbol); 684 687 VMMR3_INT_DECL(int) DBGFR3SymbolByAddr(PVM pVM, RTGCUINTPTR Address, PRTGCINTPTR poffDisplacement, PDBGFSYMBOL pSymbol); 685 688 VMMR3_INT_DECL(int) DBGFR3SymbolByName(PVM pVM, const char *pszSymbol, PDBGFSYMBOL pSymbol); 686 687 VMMR3DECL(int) DBGFR3LineByAddr(PUVM pUVM, RTGCUINTPTR Address, PRTGCINTPTR poffDisplacement, PDBGFLINE pLine);688 VMMR3DECL(PDBGFLINE) DBGFR3LineByAddrAlloc(PUVM pUVM, RTGCUINTPTR Address, PRTGCINTPTR poffDisplacement);689 VMMR3_INT_DECL(void) DBGFR3LineFree(PDBGFLINE pLine);690 689 691 690 #endif /* IN_RING3 */ … … 780 779 PRTDBGSYMBOL pSymPC; 781 780 /** Pointer to the linnumber nearest the program counter (PC). NULL if not found. */ 782 P DBGFLINEpLinePC;781 PRTDBGLINE pLinePC; 783 782 784 783 /** The return frame address. … … 797 796 PRTDBGSYMBOL pSymReturnPC; 798 797 /** Pointer to the linnumber nearest the return PC. NULL if not found. */ 799 P DBGFLINEpLineReturnPC;798 PRTDBGLINE pLineReturnPC; 800 799 801 800 /** 32-bytes of stack arguments. */ -
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.