Commit 16b42121 authored by hjk's avatar hjk Committed by hjk

debugger: re-enable thread naming feature

Change-Id: If7c712f24c5e8912cf6028fb98d4984f66502cb3
Reviewed-on: http://codereview.qt.nokia.com/4081Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 071e120e
......@@ -82,7 +82,7 @@ DisplayProcess \
def hasInferiorThreadList():
return False
#return False
try:
a = gdb.inferiors()[0].threads()
return True
......@@ -1642,7 +1642,7 @@ class Dumper:
#
#######################################################################
def threadnames(args):
def threadnames(arg):
ns = qtNamespace()
out = '['
oldthread = gdb.selected_thread()
......@@ -1674,7 +1674,7 @@ def threadnames(args):
except:
pass
oldthread.switch()
return out[:-1] + ']'
return out + ']'
registerCommand("threadnames", threadnames)
......
Markdown is supported
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