#21238 closed defect (fixed)
logical error in DBGFR3BpSetInt3Ex => fixed in SVN/next 7.0.x maintenance
回報者: | yjh-styx | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox-7.0.2 |
關鍵字: | debugger | 副本: | |
Guest type: | all | Host type: | all |
描述
Incorrect behavior when call DBGFR3BpSetInt3Ex for 'ALREADY_EXIST'adress, but without DBGF_BP_F_ENABLED in fFlags.
Minimal fixed patch is: --- VirtualBox-7.0.2/src/VBox/VMM/VMMR3/DBGFR3Bp.cpp.orig Wed Oct 19 21:29:54 2022 +++ VirtualBox-7.0.2/src/VBox/VMM/VMMR3/DBGFR3Bp.cpp Thu Nov 03 19:44:32 2022 @@ -2197,7 +2197,7 @@
&& pBp->Pub.u.Int3.PhysAddr == GCPhysBpAddr)
{
rc = VINF_SUCCESS;
- if (!DBGF_BP_PUB_IS_ENABLED(&pBp->Pub))
+ if (!DBGF_BP_PUB_IS_ENABLED(&pBp->Pub) && (fFlags & DBGF_BP_F_ENABLED))
rc = dbgfR3BpArm(pUVM, hBp, pBp);
if (RT_SUCCESS(rc)) {
You are right, thanks for the report! This will be fixed in the next maintenance release.