Commit 0b121abb authored by Marcus Folkesson's avatar Marcus Folkesson Committed by hjk

debugger: gdb: Use RemoteGdbServerAdapter for StartRemoteProcess mode

The RemoteGdbServerAdapter should be invoked (instead of
LocalPlainGdbAdapter) when using startmode StartRemoteProcess.

Change-Id: I0f4c9dc2a275ef4b42ddf5b425b8dee839c83458
Signed-off-by: default avatarMarcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent de1d0532
......@@ -5366,6 +5366,7 @@ DebuggerEngine *createGdbEngine(const DebuggerStartParameters &sp)
switch (sp.startMode) {
case AttachCore:
return new GdbCoreEngine(sp);
case StartRemoteProcess:
case AttachToRemoteServer:
return new GdbRemoteServerEngine(sp);
case StartRemoteGdb:
......
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