From 3402c1114f444ce59eb06feeebaab753b06e8291 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Date: Wed, 17 Jun 2009 17:18:31 +0200 Subject: [PATCH] consolidate identical #ifdef branches --- src/plugins/debugger/gdb/gdbengine.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 50a2810fddb..9423080de18 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1894,18 +1894,16 @@ void GdbEngine::sendInsertBreakpoint(int index) QString cmd = _("-break-insert "); //if (!data->condition.isEmpty()) // cmd += "-c " + data->condition + " "; - cmd += where; #elif defined(Q_OS_MAC) QString cmd = _("-break-insert -l -1 "); //if (!data->condition.isEmpty()) // cmd += "-c " + data->condition + " "; - cmd += where; #else QString cmd = _("-break-insert -f "); //if (!data->condition.isEmpty()) // cmd += _("-c ") + data->condition + ' '; - cmd += where; #endif + cmd += where; emit gdbOutputAvailable(LogStatus, _("Current state: %1").arg(q->status())); postCommand(cmd, NeedsStop, CB(handleBreakInsert), index); } -- GitLab