Changeset 73360 in vbox
- Timestamp:
- Jul 25, 2018 6:51:12 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r73351 r73360 1004 1004 DBGFADDRESS Addr; 1005 1005 int rc = DBGFR3AsSymbolByAddr(pUVM, pDbgc->hDbgAs, DBGFR3AddrFromFlat(pDbgc->pUVM, &Addr, pBp->u.GCPtr), 1006 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &off, &Sym, NULL); 1006 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 1007 &off, &Sym, NULL); 1007 1008 if (RT_SUCCESS(rc)) 1008 1009 { … … 1188 1189 RTDBGSYMBOL Symbol; 1189 1190 RTGCINTPTR offDispSym; 1190 int rc = DBGFR3AsSymbolByAddr(pUVM, hDbgAs, pAddress, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &offDispSym, &Symbol, NULL); 1191 int rc = DBGFR3AsSymbolByAddr(pUVM, hDbgAs, pAddress, 1192 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 1193 &offDispSym, &Symbol, NULL); 1191 1194 if (RT_FAILURE(rc) || offDispSym > _1G) 1192 rc = DBGFR3AsSymbolByAddr(pUVM, hDbgAs, pAddress, RTDBGSYMADDR_FLAGS_GREATER_OR_EQUAL, &offDispSym, &Symbol, NULL); 1195 rc = DBGFR3AsSymbolByAddr(pUVM, hDbgAs, pAddress, 1196 RTDBGSYMADDR_FLAGS_GREATER_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 1197 &offDispSym, &Symbol, NULL); 1193 1198 if (RT_SUCCESS(rc) && offDispSym < _1G) 1194 1199 { … … 3497 3502 RTINTPTR offDisp; 3498 3503 RTDBGSYMBOL Symbol; 3499 rc = DBGFR3AsSymbolByAddr(pUVM, pDbgc->hDbgAs, &Addr, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 3504 rc = DBGFR3AsSymbolByAddr(pUVM, pDbgc->hDbgAs, &Addr, 3505 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 3500 3506 &offDisp, &Symbol, NULL); 3501 3507 if (RT_SUCCESS(rc)) … … 5902 5908 DBGFADDRESS Addr; 5903 5909 rc = DBGFR3AsSymbolByAddr(pUVM, pDbgc->hDbgAs, DBGFR3AddrFromFlat(pDbgc->pUVM, &Addr, AddrVar.u.GCFlat), 5904 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &offDisp, &Symbol, NULL); 5910 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 5911 &offDisp, &Symbol, NULL); 5905 5912 if (RT_FAILURE(rc)) 5906 return pCmdHlp->pfnVBoxError(pCmdHlp, rc, "DBGFR3A SymbolByAddr(,,%RGv,,)\n", AddrVar.u.GCFlat);5913 return pCmdHlp->pfnVBoxError(pCmdHlp, rc, "DBGFR3AsSymbolByAddr(,,%RGv,,)\n", AddrVar.u.GCFlat); 5907 5914 5908 5915 if (!offDisp) -
trunk/src/VBox/VMM/VMMR3/DBGFDisas.cpp
r70948 r73360 377 377 RTDBGSYMBOL Sym; 378 378 RTGCINTPTR off; 379 rc = DBGFR3AsSymbolByAddr(pState->pVM->pUVM, pState->hDbgAs, &Addr, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 379 rc = DBGFR3AsSymbolByAddr(pState->pVM->pUVM, pState->hDbgAs, &Addr, 380 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 380 381 &off, &Sym, NULL /*phMod*/); 381 382 if (RT_SUCCESS(rc)) -
trunk/src/VBox/VMM/VMMR3/DBGFR3BugCheck.cpp
r73357 r73360 87 87 RTGCINTPTR offDisp = 0; 88 88 PRTDBGSYMBOL pSym = DBGFR3AsSymbolByAddrA(pUVM, DBGF_AS_GLOBAL, DBGFR3AddrFromFlat(pUVM, &Addr, uFlatAddr), 89 0 /*fFlags*/, &offDisp, NULL /*phMod*/); 89 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 90 &offDisp, NULL /*phMod*/); 90 91 if (pSym) 91 92 { -
trunk/src/VBox/VMM/VMMR3/DBGFStack.cpp
r69111 r73360 158 158 if (DBGFADDRESS_IS_VALID(&pFrame->AddrPC)) 159 159 { 160 pFrame->pSymPC = DBGFR3AsSymbolByAddrA(pUVM, hAs, &pFrame->AddrPC, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 160 pFrame->pSymPC = DBGFR3AsSymbolByAddrA(pUVM, hAs, &pFrame->AddrPC, 161 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 161 162 NULL /*poffDisp*/, NULL /*phMod*/); 162 163 pFrame->pLinePC = DBGFR3AsLineByAddrA(pUVM, hAs, &pFrame->AddrPC, NULL /*poffDisp*/, NULL /*phMod*/); … … 292 293 } 293 294 294 pFrame->pSymReturnPC = DBGFR3AsSymbolByAddrA(pUVM, hAs, &pFrame->AddrReturnPC, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 295 pFrame->pSymReturnPC = DBGFR3AsSymbolByAddrA(pUVM, hAs, &pFrame->AddrReturnPC, 296 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 295 297 NULL /*poffDisp*/, NULL /*phMod*/); 296 298 pFrame->pLineReturnPC = DBGFR3AsLineByAddrA(pUVM, hAs, &pFrame->AddrReturnPC, NULL /*poffDisp*/, NULL /*phMod*/); -
trunk/src/VBox/VMM/VMMR3/PATMR3Dbg.cpp
r70948 r73360 198 198 int rc = DBGFR3AsSymbolByAddr(pVM->pUVM, DBGF_AS_GLOBAL, 199 199 DBGFR3AddrFromFlat(pVM->pUVM, &Addr, pPatchRec->patch.pPrivInstrGC), 200 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL ,200 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 201 201 &offDisp, &Symbol, NULL /*phMod*/); 202 202 if (RT_SUCCESS(rc)) -
trunk/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
r72880 r73360 553 553 RTGCINTPTR offDisp = 0; 554 554 PRTDBGSYMBOL pSym = DBGFR3AsSymbolByAddrA(pVM->pUVM, DBGF_AS_R0, &Addr, 555 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &offDisp, NULL); 555 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 556 &offDisp, NULL); 556 557 RTGCINTPTR offLineDisp; 557 558 PRTDBGLINE pLine = DBGFR3AsLineByAddrA(pVM->pUVM, DBGF_AS_R0, &Addr, &offLineDisp, NULL); -
trunk/src/recompiler/VBoxRecompiler.c
r73097 r73360 4228 4228 4229 4229 int rc = DBGFR3AsSymbolByAddr(pVM->pUVM, DBGF_AS_GLOBAL, DBGFR3AddrFromFlat(pVM->pUVM, &Addr, orig_addr), 4230 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &off, &Sym, NULL /*phMod*/); 4230 RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL | RTDBGSYMADDR_FLAGS_SKIP_ABS_IN_DEFERRED, 4231 &off, &Sym, NULL /*phMod*/); 4231 4232 if (RT_SUCCESS(rc)) 4232 4233 {
Note:
See TracChangeset
for help on using the changeset viewer.