Commit 7544e753 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Fix remote debugging via gdbserver.

Also document remote gdbserver adapter's signal.
parent 15fc9396
......@@ -65,6 +65,14 @@ private:
AbstractGdbProcess *gdbProc() { return &m_gdbProc; }
signals:
/*
* For "external" clients of a debugger run control that need to do
* further setup before the debugger is started (e.g. Maemo).
* Afterwards, handleSetupDone() or handleSetupFailed() must be called
* to continue or abort debugging, respectively.
* This signal is only emitted if the start parameters indicate that
* a server start script should be used, but none is given.
*/
void requestSetup();
private:
......
......@@ -84,6 +84,7 @@ RunControl *MaemoDebugSupport::createDebugRunControl(MaemoRunConfiguration *runC
params.debuggerCommand = runConfig->gdbCmd();
params.remoteChannel = devConf.server.host + QLatin1Char(':')
+ QString::number(gdbServerPort(runConfig));
params.useServerStartScript = true;
params.remoteArchitecture = QLatin1String("arm");
}
params.processArgs = runConfig->arguments();
......
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