/vbox/src/VBox/VMM/VMMRZ/ |
H A D | DBGFRZ.cpp | 61 for (unsigned iBp = 0; iBp < RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints); iBp++) 63 if ( ((uint32_t)uDr6 & RT_BIT_32(iBp)) 64 && pVM->dbgf.s.aHwBreakpoints[iBp].enmType == DBGFBPTYPE_REG) 66 pVCpu->dbgf.s.iActiveBp = pVM->dbgf.s.aHwBreakpoints[iBp].iBp; 69 pVM->dbgf.s.aHwBreakpoints[iBp].iBp, pRegFrame->cs.Sel, pRegFrame->rip)); 138 for (unsigned iBp [all...] |
/vbox/src/VBox/Debugger/ |
H A D | DBGCCmdWorkers.cpp | 49 int dbgcBpAdd(PDBGC pDbgc, RTUINT iBp, const char *pszCmd) argument 54 PDBGCBP pBp = dbgcBpGet(pDbgc, iBp); 72 pBp->iBp = iBp; 84 * @param iBp The breakpoint to update. 87 int dbgcBpUpdate(PDBGC pDbgc, RTUINT iBp, const char *pszCmd) argument 92 PDBGCBP pBp = dbgcBpGet(pDbgc, iBp); 116 int rc = dbgcBpDelete(pDbgc, iBp); 118 return dbgcBpAdd(pDbgc, iBp, pszCmd); 130 * @param iBp Th 132 dbgcBpDelete(PDBGC pDbgc, RTUINT iBp) argument 165 dbgcBpGet(PDBGC pDbgc, RTUINT iBp) argument 188 dbgcBpExec(PDBGC pDbgc, RTUINT iBp) argument [all...] |
H A D | DBGCInternal.h | 42 uint32_t iBp; member in struct:DBGCBP 376 int dbgcBpAdd(PDBGC pDbgc, RTUINT iBp, const char *pszCmd); 377 int dbgcBpUpdate(PDBGC pDbgc, RTUINT iBp, const char *pszCmd); 378 int dbgcBpDelete(PDBGC pDbgc, RTUINT iBp); 379 PDBGCBP dbgcBpGet(PDBGC pDbgc, RTUINT iBp); 380 int dbgcBpExec(PDBGC pDbgc, RTUINT iBp);
|
H A D | DBGCEmulateCodeView.cpp | 476 uint32_t iBp; local 477 rc = DBGFR3BpSetReg(pUVM, &Address, iHitTrigger, iHitDisable, fType, cb, &iBp); 481 rc = dbgcBpAdd(pDbgc, iBp, pszCmds); 483 return DBGCCmdHlpPrintf(pCmdHlp, "Set access breakpoint %u at %RGv\n", iBp, Address.FlatPtr); 486 rc = dbgcBpUpdate(pDbgc, iBp, pszCmds); 488 return DBGCCmdHlpPrintf(pCmdHlp, "Updated access breakpoint %u at %RGv\n", iBp, Address.FlatPtr); 490 int rc2 = DBGFR3BpClear(pDbgc->pUVM, iBp); 514 uint32_t iBp = (uint32_t)paArgs[iArg].u.u64Number; local 515 if (iBp == paArgs[iArg].u.u64Number) 517 int rc2 = DBGFR3BpClear(pUVM, iBp); 532 uint32_t iBp = pBp->iBp; local 563 uint32_t iBp = (uint32_t)paArgs[iArg].u.u64Number; local 607 uint32_t iBp = (uint32_t)paArgs[iArg].u.u64Number; local 780 uint32_t iBp; local 840 uint32_t iBp; local [all...] |
H A D | DBGConsole.cpp | 658 rc = dbgcBpExec(pDbgc, pEvent->u.Bp.iBp); 663 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx)); 668 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx)); 673 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx));
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | DBGFAll.cpp | 187 for (unsigned iBp = 0; iBp < RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints); iBp++) 189 if ( pVM->dbgf.s.aHwBreakpoints[iBp].u.Reg.fType == X86_DR7_RW_IO 190 && pVM->dbgf.s.aHwBreakpoints[iBp].fEnabled 191 && pVM->dbgf.s.aHwBreakpoints[iBp].enmType == DBGFBPTYPE_REG ) 193 uint8_t cbReg = pVM->dbgf.s.aHwBreakpoints[iBp].u.Reg.cb; Assert(RT_IS_POWER_OF_TWO(cbReg)); 194 uint64_t uDrXFirst = pVM->dbgf.s.aHwBreakpoints[iBp].GCPtr & ~(uint64_t)(cbReg - 1); 199 pVCpu->dbgf.s.iActiveBp = pVM->dbgf.s.aHwBreakpoints[iBp].iBp; [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFBp.cpp | 65 pVM->dbgf.s.aHwBreakpoints[i].iBp = i; 72 pVM->dbgf.s.aBreakpoints[i].iBp = i + RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints); 131 for (unsigned iBp = 0; iBp < cBps; iBp++) 132 if (paBps[iBp].enmType == DBGFBPTYPE_FREE) 135 paBps[iBp].cHits = 0; 136 paBps[iBp].enmType = enmType; 137 return &paBps[iBp]; 151 * @param iBp Th 153 dbgfR3BpGet(PVM pVM, uint32_t iBp) argument 720 dbgfR3BpClear(PUVM pUVM, uint32_t iBp) argument 778 DBGFR3BpClear(PUVM pUVM, uint32_t iBp) argument 798 dbgfR3BpEnable(PUVM pUVM, uint32_t iBp) argument 856 DBGFR3BpEnable(PUVM pUVM, uint32_t iBp) argument 876 dbgfR3BpDisable(PUVM pUVM, uint32_t iBp) argument 932 DBGFR3BpDisable(PUVM pUVM, uint32_t iBp) argument [all...] |
H A D | DBGF.cpp | 627 RTUINT iBp = pVM->dbgf.s.DbgEvent.u.Bp.iBp = pVCpu->dbgf.s.iActiveBp; local 629 if (iBp != ~0U) 645 pVM->dbgf.s.DbgEvent.u.Bp.iBp = pVM->dbgf.s.aBreakpoints[i].iBp; 648 AssertMsg(pVM->dbgf.s.DbgEvent.u.Bp.iBp != ~0U, ("eip=%08x\n", eip));
|
/vbox/include/iprt/ |
H A D | x86.h | 857 #define X86_DR6_B(iBp) RT_BIT_64(iBp) 927 * @param iBp The breakpoint number [0..3]. 929 #define X86_DR7_L(iBp) ( UINT32_C(1) << (iBp * 2) ) 932 * @param iBp The breakpoint number [0..3]. 934 #define X86_DR7_G(iBp) ( UINT32_C(1) << (iBp * 2 + 1) ) 937 * @param iBp The breakpoint number [0..3]. 939 #define X86_DR7_L_G(iBp) ( UINT32_ [all...] |
/vbox/src/VBox/Debugger/testcase/ |
H A D | tstDBGCStubs.cpp | 54 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, RTUINT iBp) argument 58 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, RTUINT iBp) argument 62 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, RTUINT iBp) argument
|
/vbox/include/VBox/vmm/ |
H A D | dbgf.h | 158 * identifier of the breakpoint can be found in the DBGFEVENT::u::Bp::iBp member. 163 * identifier of the breakpoint can be found in the DBGFEVENT::u::Bp::iBp member. 259 RTUINT iBp; member in struct:DBGFEVENT::__anon320::DBGFEVENTBP 344 uint32_t iBp; member in struct:DBGFBP 396 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, uint32_t iBp); 397 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, uint32_t iBp); 398 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, uint32_t iBp);
|