forked from qt-creator/qt-creator
Debugging: Pass a DebuggingLanguage arg in executeDebuggerCommand()
Change-Id: I99eedc86c987615072b7400051b61700b98ebab3 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1234,8 +1234,10 @@ bool GdbEngine::acceptsDebuggerCommands() const
|
||||
|| state() == InferiorUnrunnable;
|
||||
}
|
||||
|
||||
void GdbEngine::executeDebuggerCommand(const QString &command)
|
||||
void GdbEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages languages)
|
||||
{
|
||||
if (!(languages & CppLanguage))
|
||||
return;
|
||||
QTC_CHECK(acceptsDebuggerCommands());
|
||||
GdbCommand cmd;
|
||||
cmd.command = command.toLatin1();
|
||||
|
||||
Reference in New Issue
Block a user