From 6aa1f3ccc0434df2c51b96a27ad7f5fc341f31f5 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 19 May 2014 23:32:59 +0300 Subject: [PATCH] Debugger: Pass Abi as const reference Change-Id: I9f7ef9becc1509cea9ee8f9284a09fc10fdb150f Reviewed-by: hjk --- src/plugins/debugger/gdb/gdbengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index ebcc8c5102a..7aa202bfec8 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1463,7 +1463,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data) handleStop1(data); } -static QByteArray stopSignal(Abi abi) +static QByteArray stopSignal(const Abi &abi) { return (abi.os() == Abi::WindowsOS) ? QByteArray("SIGTRAP") : QByteArray("SIGINT"); }