Commit b2ae4b23 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Debugger/gdb: Activate "target async" option in GUI.

Change-Id: Ic359d4af409993dfcc45ba95e6ab5e9287ef6d12
Reviewed-on: http://codereview.qt-project.org/5874


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 50667362
......@@ -140,7 +140,7 @@ QWidget *GdbOptionsPage::createPage(QWidget *parent)
}
// FIXME: Not fully working on the gdb side yet.
m_ui->checkBoxTargetAsync->hide();
//m_ui->checkBoxTargetAsync->hide();
return w;
}
......
......@@ -32,6 +32,7 @@
#include "remotegdbserveradapter.h"
#include "debuggeractions.h"
#include "debuggerstartparameters.h"
#include "debuggercore.h"
#include "debuggerstringutils.h"
......@@ -201,7 +202,8 @@ void RemoteGdbServerAdapter::setupInferior()
// gdb/mi/mi-main.c:1958: internal-error:
// mi_execute_async_cli_command: Assertion `is_running (inferior_ptid)'
// failed.\nA problem internal to GDB has been detected,[...]
m_engine->postCommand("set target-async on", CB(handleSetTargetAsync));
if (debuggerCore()->boolSetting(TargetAsync))
m_engine->postCommand("set target-async on", CB(handleSetTargetAsync));
if (fileName.isEmpty()) {
showMessage(tr("No symbol file given."), StatusBar);
......
Supports Markdown
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