Commit 7aa677c4 authored by hjk's avatar hjk
Browse files

debugger: fix QObject property dumper by using workaround

As suggested by Tom T. in http://sourceware.org/bugzilla/show_bug.cgi?id=11912
(cherry picked from commit f52a88a0)

Conflicts:

	share/qtcreator/gdbmacros/dumper.py
parent 7788e95e
...@@ -647,7 +647,8 @@ def call(value, func): ...@@ -647,7 +647,8 @@ def call(value, func):
type = stripClassTag(str(value.type)) type = stripClassTag(str(value.type))
if type.find(":") >= 0: if type.find(":") >= 0:
type = "'" + type + "'" type = "'" + type + "'"
exp = "((%s*)%s)->%s" % (type, value.address, func) # 'class' is needed, see http://sourceware.org/bugzilla/show_bug.cgi?id=11912
exp = "((class %s*)%s)->%s" % (type, value.address, func)
#warn("CALL: %s" % exp) #warn("CALL: %s" % exp)
result = None result = None
try: try:
......
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