OSDN Git Service

Maemo: Use debugger set up by the SDK
authorTobias Hunger <tobias.hunger@nokia.com>
Wed, 13 Apr 2011 09:25:23 +0000 (11:25 +0200)
committerTobias Hunger <tobias.hunger@nokia.com>
Wed, 13 Apr 2011 09:42:52 +0000 (11:42 +0200)
Use the debugger set up by the Qt SDK instead of the one shipped
with Maemo/Meego.

Task-number: QTCREATORBUG-4299
Reviewed-by: Christian Kandeler
src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.cpp

index 244ac38..2a6a180 100644 (file)
@@ -228,7 +228,7 @@ const MaemoToolChain *MaemoRunConfiguration::toolchain() const
 
 const QString MaemoRunConfiguration::gdbCmd() const
 {
-    return QDir::toNativeSeparators(targetRoot() + QLatin1String("/bin/gdb"));
+    return QDir::toNativeSeparators(activeBuildConfiguration()->toolChain()->debuggerCommand());
 }
 
 MaemoDeployStep *MaemoRunConfiguration::deployStep() const