summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-01-05 18:50:59 +0100
committercon <qtc-committer@nokia.com>2011-01-06 14:09:11 +0100
commit346080c2ae4547e8e16113bb0d957b666a755b08 (patch)
tree87314ff32515f363dbf8ed755f9a027bddb01d94
parent46599ff0ff7154ac422238d771b43b4a8b4e4829 (diff)
downloadqt-creator-346080c2ae4547e8e16113bb0d957b666a755b08.tar.gz
debugger: disable "threadnames"
This works around the problem that the threadnames deduction switches the current thread and thereby invalidates the assumption that the thread mentioned in the *stopped response is the "current" thread. There's already a proper fix in master including some performance enhancements. Reviewed-by: con
-rw-r--r--share/qtcreator/gdbmacros/dumper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index d6d5e519d8..d03a3c780f 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -94,6 +94,7 @@ def isGoodGdb():
return 'parse_and_eval' in __builtin__.dir(gdb)
def hasInferiorThreadList():
+ return False
try:
a= gdb.inferiors()[0].threads()
return True