forked from qt-creator/qt-creator
Debugger/gdb: Activate "target async" option in GUI.
Change-Id: Ic359d4af409993dfcc45ba95e6ab5e9287ef6d12 Reviewed-on: http://codereview.qt-project.org/5874 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -140,7 +140,7 @@ QWidget *GdbOptionsPage::createPage(QWidget *parent)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: Not fully working on the gdb side yet.
|
// FIXME: Not fully working on the gdb side yet.
|
||||||
m_ui->checkBoxTargetAsync->hide();
|
//m_ui->checkBoxTargetAsync->hide();
|
||||||
|
|
||||||
return w;
|
return w;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#include "remotegdbserveradapter.h"
|
#include "remotegdbserveradapter.h"
|
||||||
|
|
||||||
|
#include "debuggeractions.h"
|
||||||
#include "debuggerstartparameters.h"
|
#include "debuggerstartparameters.h"
|
||||||
#include "debuggercore.h"
|
#include "debuggercore.h"
|
||||||
#include "debuggerstringutils.h"
|
#include "debuggerstringutils.h"
|
||||||
@@ -201,6 +202,7 @@ void RemoteGdbServerAdapter::setupInferior()
|
|||||||
// gdb/mi/mi-main.c:1958: internal-error:
|
// gdb/mi/mi-main.c:1958: internal-error:
|
||||||
// mi_execute_async_cli_command: Assertion `is_running (inferior_ptid)'
|
// mi_execute_async_cli_command: Assertion `is_running (inferior_ptid)'
|
||||||
// failed.\nA problem internal to GDB has been detected,[...]
|
// failed.\nA problem internal to GDB has been detected,[...]
|
||||||
|
if (debuggerCore()->boolSetting(TargetAsync))
|
||||||
m_engine->postCommand("set target-async on", CB(handleSetTargetAsync));
|
m_engine->postCommand("set target-async on", CB(handleSetTargetAsync));
|
||||||
|
|
||||||
if (fileName.isEmpty()) {
|
if (fileName.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user