From 7aa677c4e5e19ea0f5f6e393a5a8a5a700077b73 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 17 Aug 2010 16:32:59 +0200 Subject: [PATCH] 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 f52a88a074e2940f3887ebb19fab4de63a3f6518) Conflicts: share/qtcreator/gdbmacros/dumper.py --- share/qtcreator/gdbmacros/dumper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index 975303b9714..e6b97834177 100644 --- a/share/qtcreator/gdbmacros/dumper.py +++ b/share/qtcreator/gdbmacros/dumper.py @@ -647,7 +647,8 @@ def call(value, func): type = stripClassTag(str(value.type)) if type.find(":") >= 0: 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) result = None try: