summaryrefslogtreecommitdiff
path: root/src/VBox/VMM/VMMR3/DBGF.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-10-29 08:30:25 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2020-10-29 08:30:25 +0000
commitddcf5e40032a3d5263a043e7e27e14fe6904db0e (patch)
tree5c5ad8194f4015a29ff4c633153fa9185fb0a3dc /src/VBox/VMM/VMMR3/DBGF.cpp
parent741de449c84a737570429e7deee5a8e76d5d14e3 (diff)
downloadVirtualBox-svn-ddcf5e40032a3d5263a043e7e27e14fe6904db0e.tar.gz
VMM/DBGF,Debugger: Implement changes for the new breakpoint manager, bugref:9837
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86755 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/VMM/VMMR3/DBGF.cpp')
-rw-r--r--src/VBox/VMM/VMMR3/DBGF.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/VBox/VMM/VMMR3/DBGF.cpp b/src/VBox/VMM/VMMR3/DBGF.cpp
index c3ba07a87e7..6dc195c1756 100644
--- a/src/VBox/VMM/VMMR3/DBGF.cpp
+++ b/src/VBox/VMM/VMMR3/DBGF.cpp
@@ -785,7 +785,7 @@ VMMR3_INT_DECL(int) DBGFR3EventBreakpoint(PVM pVM, DBGFEVENTTYPE enmEvent)
*/
DBGFEVENT DbgEvent;
#ifndef VBOX_WITH_LOTS_OF_DBGF_BPS
- RTUINT iBp = DbgEvent.u.Bp.iBp = pVCpu->dbgf.s.iActiveBp;
+ RTUINT iBp = DbgEvent.u.Bp.hBp = pVCpu->dbgf.s.iActiveBp;
pVCpu->dbgf.s.iActiveBp = ~0U;
if (iBp != ~0U)
{
@@ -816,10 +816,10 @@ VMMR3_INT_DECL(int) DBGFR3EventBreakpoint(PVM pVM, DBGFEVENTTYPE enmEvent)
if ( pVM->dbgf.s.aBreakpoints[i].enmType == DBGFBPTYPE_REM
&& pVM->dbgf.s.aBreakpoints[i].u.Rem.GCPtr == eip)
{
- DbgEvent.u.Bp.iBp = pVM->dbgf.s.aBreakpoints[i].iBp;
+ DbgEvent.u.Bp.hBp = pVM->dbgf.s.aBreakpoints[i].iBp;
break;
}
- AssertMsg(DbgEvent.u.Bp.iBp != ~0U, ("eip=%08x\n", eip));
+ AssertMsg(DbgEvent.u.Bp.hBp != ~0U, ("eip=%08x\n", eip));
return dbgfR3SendEventWaitEx(pVM, pVCpu, enmEvent, DBGFEVENTCTX_REM, &DbgEvent.u, sizeof(DbgEvent.u.Bp));
#else
return VERR_DBGF_IPE_1;