Debugger: Fix use of remote Linux startup with Step Into/Step Over

Starting with F11 and F10 should start with break on main. To know
about the breakpoint, the RunMode parameter needs to be passed.

Change-Id: I3219ee60f187f824476a1a8651e56334da021069
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
hjk
2015-08-14 17:34:27 +02:00
parent e6b2426b89
commit 4f50aa74d6

View File

@@ -106,7 +106,7 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Co
} }
DebuggerStartParameters params = LinuxDeviceDebugSupport::startParameters(rc); DebuggerStartParameters params = LinuxDeviceDebugSupport::startParameters(rc);
DebuggerRunControl * const runControl = createDebuggerRunControl(params, runConfig, errorMessage); DebuggerRunControl * const runControl = createDebuggerRunControl(params, runConfig, errorMessage, mode);
if (!runControl) if (!runControl)
return 0; return 0;
LinuxDeviceDebugSupport * const debugSupport = LinuxDeviceDebugSupport * const debugSupport =