Changeset 87776 in vbox for trunk/src/VBox/Debugger
- Timestamp:
- Feb 17, 2021 12:21:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/DBGCEmulateCodeView.cpp
r87594 r87776 962 962 * BP type and size. 963 963 */ 964 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, "%#4x %c ", hBp, DBGF_BP_PUB_IS_ENABLED(pBp ->fFlagsAndType) ? 'e' : 'd');964 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, "%#4x %c ", hBp, DBGF_BP_PUB_IS_ENABLED(pBp) ? 'e' : 'd'); 965 965 bool fHasAddress = false; 966 switch (DBGF_BP_PUB_GET_TYPE(pBp ->fFlagsAndType))966 switch (DBGF_BP_PUB_GET_TYPE(pBp)) 967 967 { 968 968 case DBGFBPTYPE_INT3: … … 991 991 case DBGFBPTYPE_MMIO: 992 992 { 993 uint32_t fAccess = DBGF_BP_PUB_GET_TYPE(pBp ->fFlagsAndType) == DBGFBPTYPE_PORT_IO ? pBp->u.PortIo.fAccess : pBp->u.Mmio.fAccess;994 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, DBGF_BP_PUB_GET_TYPE(pBp ->fFlagsAndType) == DBGFBPTYPE_PORT_IO ? " i" : " m");993 uint32_t fAccess = DBGF_BP_PUB_GET_TYPE(pBp) == DBGFBPTYPE_PORT_IO ? pBp->u.PortIo.fAccess : pBp->u.Mmio.fAccess; 994 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, DBGF_BP_PUB_GET_TYPE(pBp) == DBGFBPTYPE_PORT_IO ? " i" : " m"); 995 995 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, " %c%c%c%c%c%c", 996 996 fAccess & DBGFBPIOACCESS_READ_MASK ? 'r' : '-', … … 1007 1007 fAccess & DBGFBPIOACCESS_WRITE_QWORD ? '8' : '-', 1008 1008 fAccess & DBGFBPIOACCESS_WRITE_OTHER ? '+' : '-'); 1009 if (DBGF_BP_PUB_GET_TYPE(pBp ->fFlagsAndType) == DBGFBPTYPE_PORT_IO)1009 if (DBGF_BP_PUB_GET_TYPE(pBp) == DBGFBPTYPE_PORT_IO) 1010 1010 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, " %04x-%04x", 1011 1011 pBp->u.PortIo.uPort, pBp->u.PortIo.uPort + pBp->u.PortIo.cPorts - 1); … … 1016 1016 1017 1017 default: 1018 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, " unknown type %d!!", DBGF_BP_PUB_GET_TYPE(pBp ->fFlagsAndType));1018 DBGCCmdHlpPrintf(&pDbgc->CmdHlp, " unknown type %d!!", DBGF_BP_PUB_GET_TYPE(pBp)); 1019 1019 AssertFailed(); 1020 1020 break;
Note:
See TracChangeset
for help on using the changeset viewer.