Commit 9235e936 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Compile CDB

parent a666c48c
...@@ -1315,10 +1315,10 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage) ...@@ -1315,10 +1315,10 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage)
case BreakpointInsertRequested: case BreakpointInsertRequested:
handler->setState(id, BreakpointInsertProceeding); handler->setState(id, BreakpointInsertProceeding);
if (addCdbBreakpoint(control, symbols, data, &response, errorMessage)) { if (addCdbBreakpoint(control, symbols, data, &response, errorMessage)) {
notifyBreakpointInsertOk(id); handler->notifyBreakpointInsertOk(id);
handler->setResponse(id, response); handler->setResponse(id, response);
} else { } else {
notifyBreakpointInsertOk(id); handler->notifyBreakpointInsertOk(id);
showMessage(*errorMessage, LogError); showMessage(*errorMessage, LogError);
} }
break; break;
...@@ -1327,21 +1327,20 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage) ...@@ -1327,21 +1327,20 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage)
handler->setState(id, BreakpointChangeProceeding); handler->setState(id, BreakpointChangeProceeding);
if (data.enabled) { if (data.enabled) {
if (addCdbBreakpoint(control, symbols, data, &response, errorMessage)) { if (addCdbBreakpoint(control, symbols, data, &response, errorMessage)) {
notifyBreakpointChangeOk(id); handler->notifyBreakpointChangeOk(id);
handler->setResponse(id, response); handler->setResponse(id, response);
} else { } else {
notifyBreakpointChangeFailed(id); handler->notifyBreakpointChangeFailed(id);
showMessage(*errorMessage, LogError); showMessage(*errorMessage, LogError);
} }
} else { } else {
notifyBreakpointChangeOk(id); handler->notifyBreakpointChangeOk(id);
} }
break; break;
case BreakpointRemoveRequested: case BreakpointRemoveRequested:
notifyBreakpointRemoveOk(id); handler->notifyBreakpointRemoveOk(id);
break; break;
case BreakpointInserted: case BreakpointInserted:
case BreakpointPending:
// Existing breakpoints were deleted due to change/removal, re-set // Existing breakpoints were deleted due to change/removal, re-set
if (syncType == BreakpointsRemovedChanged if (syncType == BreakpointsRemovedChanged
&& !addCdbBreakpoint(control, symbols, handler->breakpointData(id), &response, errorMessage)) && !addCdbBreakpoint(control, symbols, handler->breakpointData(id), &response, errorMessage))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment