Debugger: Break on raise() -> Break on abort()

Win64 doesn't seem to have raise() at all, or at least it isn't
called on abort()

Change-Id: Ief7a97c321db0f91629848852719977d14094173
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Orgad Shaneh
2012-05-08 18:01:28 +03:00
committed by hjk
parent 4f169b2150
commit b3416a57d7
4 changed files with 12 additions and 12 deletions

View File

@@ -5140,8 +5140,8 @@ void GdbEngine::handleNamespaceExtraction(const GdbResponse &response)
if (startParameters().startMode == AttachCore) {
notifyInferiorSetupOk(); // No breakpoints in core files.
} else {
if (debuggerCore()->boolSetting(BreakOnRaise))
postCommand("-break-insert -f raise");
if (debuggerCore()->boolSetting(BreakOnAbort))
postCommand("-break-insert -f abort");
if (debuggerCore()->boolSetting(BreakOnWarning))
postCommand("-break-insert -f '" + qtNamespace() + "qWarning'");
if (debuggerCore()->boolSetting(BreakOnFatal))