Skip to content

Commit

Permalink
Debugger: Make more noise again
Browse files Browse the repository at this point in the history
... when attaching in connection with Run-in-terminal fails due
to strict yama scope settings.

Change-Id: I27731e36f07d99f817f606cb4625dc3a39dabc72
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
  • Loading branch information
hjk committed Sep 25, 2023
1 parent aa4ff49 commit 68359f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/debugger/gdb/gdbengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4993,8 +4993,7 @@ void GdbEngine::handleStubAttached(const DebuggerResponse &response, qint64 main
break;
case ResultError:
if (response.data["msg"].data() == "ptrace: Operation not permitted.") {
showMessage(msgPtraceError(runParameters().startMode));
notifyEngineRunFailed();
notifyInferiorSetupFailedHelper(msgPtraceError(runParameters().startMode));
break;
}
showMessage(response.data["msg"].data());
Expand Down

0 comments on commit 68359f9

Please sign in to comment.