debugger: disable "set target-async on"

Has a tendency to crash gdb, at least release 7.3.1 and today's cvs.

Change-Id: Iba42891ddad000bf97b45d5daf8985d48d4fd977
Reviewed-on: http://codereview.qt-project.org/5617
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-09-26 18:43:26 +02:00
committed by hjk
parent 49a5f8be1a
commit 0949adef1c

View File

@@ -196,7 +196,12 @@ void RemoteGdbServerAdapter::setupInferior()
// Some external comment: '[but] "set target-async on" with a native
// windows gdb will work, but then fail when you actually do
// "run"/"attach", I think..
m_engine->postCommand("set target-async on", CB(handleSetTargetAsync));
// ~"/build/buildd/gdb-7.2/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 (fileName.isEmpty()) {
showMessage(tr("No symbol file given."), StatusBar);