forked from qt-creator/qt-creator
Maemo: Fix remote debugging via gdbserver.
Also document remote gdbserver adapter's signal.
This commit is contained in:
@@ -65,6 +65,14 @@ private:
|
|||||||
AbstractGdbProcess *gdbProc() { return &m_gdbProc; }
|
AbstractGdbProcess *gdbProc() { return &m_gdbProc; }
|
||||||
|
|
||||||
signals:
|
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();
|
void requestSetup();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ RunControl *MaemoDebugSupport::createDebugRunControl(MaemoRunConfiguration *runC
|
|||||||
params.debuggerCommand = runConfig->gdbCmd();
|
params.debuggerCommand = runConfig->gdbCmd();
|
||||||
params.remoteChannel = devConf.server.host + QLatin1Char(':')
|
params.remoteChannel = devConf.server.host + QLatin1Char(':')
|
||||||
+ QString::number(gdbServerPort(runConfig));
|
+ QString::number(gdbServerPort(runConfig));
|
||||||
|
params.useServerStartScript = true;
|
||||||
params.remoteArchitecture = QLatin1String("arm");
|
params.remoteArchitecture = QLatin1String("arm");
|
||||||
}
|
}
|
||||||
params.processArgs = runConfig->arguments();
|
params.processArgs = runConfig->arguments();
|
||||||
|
|||||||
Reference in New Issue
Block a user