Debugger: always report that the debugger stopped when hitting a bp

...not only if the response id is known. Fixes stepping out with cdb..

Change-Id: I07dfc2b89703d5d0df80a30a658274529a68d18c
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2018-10-19 14:24:55 +02:00
parent 322dcadf73
commit b626a097c1

View File

@@ -1747,8 +1747,9 @@ unsigned CdbEngine::examineStopReason(const GdbMi &stopReason,
*message = bp->msgWatchpointByExpressionTriggered(bp->expression(), tid); *message = bp->msgWatchpointByExpressionTriggered(bp->expression(), tid);
else else
*message = bp->msgBreakpointTriggered(tid); *message = bp->msgBreakpointTriggered(tid);
rc |= StopReportStatusMessage|StopNotifyStop; rc |= StopReportStatusMessage;
} }
rc |= StopNotifyStop;
return rc; return rc;
} }
if (reason == "exception") { if (reason == "exception") {