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; }
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user