Commit 0d092b05 authored by Tobias Nätterlund's avatar Tobias Nätterlund Committed by hjk
Browse files

QNX: Fixed port for gdb server, fixes broken debugging on BlackBerry



As fillParameters(..) (debuggerplugin.cpp) now overrides the start
parameters for channel, pass the port to use when remote setup is
completed instead.

Change-Id: Iad4c3e4d092105cde32b52814218b77990549f61
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 498f4450
......@@ -83,7 +83,7 @@ void BlackBerryDebugSupport::launchRemoteApplication()
void BlackBerryDebugSupport::handleStarted()
{
m_engine->startParameters().attachPID = m_runner->pid();
m_engine->notifyEngineRemoteSetupDone(-1, -1);
m_engine->notifyEngineRemoteSetupDone(8000, -1);
}
void BlackBerryDebugSupport::handleStartFailed(const QString &message)
......
......@@ -144,7 +144,6 @@ Debugger::DebuggerStartParameters BlackBerryRunControlFactory::startParameters(
params.toolChainAbi = tc->targetAbi();
params.executable = runConfig->localExecutableFilePath();
params.remoteChannel = runConfig->deployConfiguration()->deviceHost() + QLatin1String(":8000");
params.displayName = runConfig->displayName();
params.remoteSetupNeeded = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment