summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-10-05 12:06:29 +0200
committerhjk <qtc-committer@nokia.com>2009-10-05 12:06:29 +0200
commit13212eef14ad16d29c302f45c61dce6b6d0e630f (patch)
tree0903bff88f708f5ce20ab40c4a2d009f580c3632 /src
parent75529d87d382f9403d71cd8d9c1117ad4bfc58f4 (diff)
downloadqt-creator-13212eef14ad16d29c302f45c61dce6b6d0e630f.tar.gz
debugger: work around Apple gdb-1344 problem
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index aba7017a1c..c6c59fccfc 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -4081,7 +4081,11 @@ void GdbEngine::handleInferiorPrepared()
//postCommand(_("set print pretty on"));
//postCommand(_("set confirm off"));
//postCommand(_("set pagination off"));
- postCommand(_("set print inferior-events 1"));
+
+ // The following does not work with 6.3.50-20050815 (Apple version gdb-1344)
+ // (Mac OS 10.6), but does so for gdb-966 (10.5):
+ //postCommand(_("set print inferior-events 1"));
+
postCommand(_("set breakpoint pending on"));
postCommand(_("set print elements 10000"));
postCommand(_("-data-list-register-names"), CB(handleRegisterListNames));