Commit b5dcc865 authored by hjk's avatar hjk

Debugger: Fix use of bare metal 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: I0afe9aeb51bccf24aa85d852f5f39f39d9c14db9
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 63d182f0
......@@ -146,7 +146,7 @@ RunControl *BareMetalRunControlFactory::create(
if (p->startupMode() == GdbServerProvider::StartupOnNetwork)
sp.remoteSetupNeeded = true;
DebuggerRunControl *runControl = createDebuggerRunControl(sp, rc, errorMessage);
DebuggerRunControl *runControl = createDebuggerRunControl(sp, rc, errorMessage, mode);
if (runControl && sp.remoteSetupNeeded) {
const auto debugSupport = new BareMetalDebugSupport(dev, runControl);
Q_UNUSED(debugSupport);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment