Remote debugging: Choose the right debugger.

This commit is contained in:
ck
2009-10-19 10:20:00 +02:00
parent 6a49395e33
commit e4f24ab53f

View File

@@ -74,7 +74,9 @@ void RemoteGdbAdapter::startAdapter()
gdbArgs.prepend(_("mi")); gdbArgs.prepend(_("mi"));
gdbArgs.prepend(_("-i")); gdbArgs.prepend(_("-i"));
QString location = theDebuggerStringSetting(GdbLocation); QString location = startParameters().debuggerCommand;
if (location.isEmpty())
location = theDebuggerStringSetting(GdbLocation);
// FIXME: make asynchroneous // FIXME: make asynchroneous
// Start the remote server // Start the remote server