OSDN Git Service

debugger: disable "threadnames"
authorhjk <qtc-committer@nokia.com>
Wed, 5 Jan 2011 17:50:59 +0000 (18:50 +0100)
committercon <qtc-committer@nokia.com>
Thu, 6 Jan 2011 13:09:11 +0000 (14:09 +0100)
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
share/qtcreator/gdbmacros/dumper.py

index d6d5e51..d03a3c7 100644 (file)
@@ -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