aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/gdb/attachgdbadapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/gdb/attachgdbadapter.cpp')
-rw-r--r--src/plugins/debugger/gdb/attachgdbadapter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/attachgdbadapter.cpp b/src/plugins/debugger/gdb/attachgdbadapter.cpp
index 11566a51be..519647d703 100644
--- a/src/plugins/debugger/gdb/attachgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/attachgdbadapter.cpp
@@ -31,6 +31,7 @@
#include <debugger/debuggerstartparameters.h>
#include <utils/qtcassert.h>
+#include <utils/qtcfallthrough.h>
namespace Debugger {
namespace Internal {
@@ -102,7 +103,7 @@ void GdbAttachEngine::handleAttach(const DebuggerResponse &response)
notifyEngineIll();
break;
}
- // if msg != "ptrace: ..." fall through
+ Q_FALLTHROUGH(); // if msg != "ptrace: ..."
default:
showStatusMessage(tr("Failed to attach to application: %1")
.arg(QString(response.data["msg"].data())));