Changeset 75165 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 29, 2018 9:00:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGFAddrSpace.cpp
r73397 r75165 959 959 * @param iModSeg The segment to load, pass NIL_RTDBGSEGIDX to load 960 960 * the whole image. 961 * @param fFlags F lags reserved for future extensions, must be 0.961 * @param fFlags For DBGFR3AsLinkModule, see RTDBGASLINK_FLAGS_*. 962 962 */ 963 963 VMMR3DECL(int) DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hDbgAs, const char *pszFilename, const char *pszModName, RTLDRARCH enmArch, … … 971 971 AssertReturn(*pszFilename, VERR_INVALID_PARAMETER); 972 972 AssertReturn(DBGFR3AddrIsValid(pUVM, pModAddress), VERR_INVALID_PARAMETER); 973 AssertReturn( fFlags == 0, VERR_INVALID_PARAMETER);973 AssertReturn(!(fFlags & ~RTDBGASLINK_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER); 974 974 RTDBGAS hRealAS = DBGFR3AsResolveAndRetain(pUVM, hDbgAs); 975 975 if (hRealAS == NIL_RTDBGAS) … … 980 980 if (RT_SUCCESS(rc)) 981 981 { 982 rc = DBGFR3AsLinkModule(pUVM, hRealAS, hDbgMod, pModAddress, iModSeg, 0);982 rc = DBGFR3AsLinkModule(pUVM, hRealAS, hDbgMod, pModAddress, iModSeg, fFlags & RTDBGASLINK_FLAGS_VALID_MASK); 983 983 if (RT_FAILURE(rc)) 984 984 RTDbgModRelease(hDbgMod);
Note:
See TracChangeset
for help on using the changeset viewer.