Debugger: Run user commands as native commands

Change-Id: I2b13880eace49818c20815a21c3e327f87ec04bc
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2017-04-03 13:00:07 +03:00
committed by Orgad Shaneh
parent 79c3c4e5e5
commit b66baab4b7

View File

@@ -1186,7 +1186,7 @@ void GdbEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages
if (!(languages & CppLanguage)) if (!(languages & CppLanguage))
return; return;
QTC_CHECK(acceptsDebuggerCommands()); QTC_CHECK(acceptsDebuggerCommands());
runCommand({command}); runCommand({command, NativeCommand});
} }
// This is triggered when switching snapshots. // This is triggered when switching snapshots.