forked from qt-creator/qt-creator
Remote debugging: Choose the right debugger.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user