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; }
* 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();
......@@ -84,6 +84,7 @@ RunControl *MaemoDebugSupport::createDebugRunControl(MaemoRunConfiguration *runC
params.debuggerCommand = runConfig->gdbCmd();
params.remoteChannel = + QLatin1Char(':')
+ QString::number(gdbServerPort(runConfig));
params.useServerStartScript = true;
params.remoteArchitecture = QLatin1String("arm");
params.processArgs = runConfig->arguments();
Supports Markdown
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