Changeset 84660 in vbox
- Timestamp:
- Jun 3, 2020 11:52:41 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138413
- Location:
- trunk/src/VBox/Debugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Debugger/DBGCGdbRemoteStub.cpp ¶
r84654 r84660 1946 1946 case DBGFEVENT_BREAKPOINT_HYPER: 1947 1947 { 1948 rc = dbgcBpExec(pDbgc, pEvent->u.Bp.iBp); 1949 switch (rc) 1950 { 1951 case VERR_DBGC_BP_NOT_FOUND: 1952 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\ndbgf event: Unknown breakpoint %u! (%s)\n", 1953 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx)); 1954 break; 1955 1956 case VINF_DBGC_BP_NO_COMMAND: 1957 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\ndbgf event: Breakpoint %u! (%s)\n", 1958 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx)); 1959 break; 1960 1961 case VINF_BUFFER_OVERFLOW: 1962 rc = pDbgc->CmdHlp.pfnPrintf(&pDbgc->CmdHlp, NULL, "\ndbgf event: Breakpoint %u! Command too long to execute! (%s)\n", 1963 pEvent->u.Bp.iBp, dbgcGetEventCtx(pEvent->enmCtx)); 1964 break; 1965 1966 default: 1967 break; 1968 } 1969 if (RT_SUCCESS(rc) && DBGFR3IsHalted(pDbgc->pUVM)) 1970 { 1971 rc = pDbgc->CmdHlp.pfnExec(&pDbgc->CmdHlp, "r"); 1972 1973 /* Set the resume flag to ignore the breakpoint when resuming execution. */ 1974 if ( RT_SUCCESS(rc) 1975 && pEvent->enmType == DBGFEVENT_BREAKPOINT) 1976 rc = pDbgc->CmdHlp.pfnExec(&pDbgc->CmdHlp, "r eflags.rf = 1"); 1977 } 1978 1948 1979 rc = dbgcGdbStubCtxReplySendSigTrap(pThis); 1949 1980 break; … … 2165 2196 2166 2197 /** 2167 * @copydoc {DBGC,pfnOutput}2198 * @copydoc DBGC::pfnOutput 2168 2199 */ 2169 2200 static DECLCALLBACK(int) dbgcOutputGdb(void *pvUser, const char *pachChars, size_t cbChars) -
TabularUnified trunk/src/VBox/Debugger/DBGConsole.cpp ¶
r84654 r84660 1090 1090 1091 1091 /** 1092 * @copydoc {DBGC,pfnOutput}1092 * @copydoc DBGC::pfnOutput 1093 1093 */ 1094 1094 static DECLCALLBACK(int) dbgcOutputNative(void *pvUser, const char *pachChars, size_t cbChars)
Note:
See TracChangeset
for help on using the changeset viewer.