debugger: add a line edit to specify the local executable for gdb remote

debugging

Long term that would probably better as a run configuration.
This commit is contained in:
hjk
2009-12-10 16:57:45 +01:00
parent b3154e1b30
commit 57634ab2d1
5 changed files with 47 additions and 17 deletions

View File

@@ -166,7 +166,7 @@ void RemoteGdbAdapter::startInferior()
+ startParameters().processArgs.join(_(" ")));
m_engine->postCommand(_("set target-async on"), CB(handleSetTargetAsync));
QString x = startParameters().executable;
QFileInfo fi(startParameters().executable);
QString fileName = fi.absoluteFilePath();
m_engine->postCommand(_("-file-exec-and-symbols \"%1\"").arg(fileName),