summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-09-17 09:01:21 +0200
committerhjk <qtc-committer@nokia.com>2010-09-17 09:01:21 +0200
commita1b2325bb338a17b14b78cbffb14a43b59fe9c98 (patch)
tree29399fefa8ef23b484e1d3954ef3cc2f5f2fe19a /share
parent8016e96beca80b37b807666847a4c3280abbb2d2 (diff)
downloadqt-creator-a1b2325bb338a17b14b78cbffb14a43b59fe9c98.tar.gz
debugger: use gdb.Field.is_base_class that seems to work nowadays
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/gdbmacros/dumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 76d653ab25..eeefafa7e5 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -1658,7 +1658,7 @@ class Dumper:
#warn("FIELD NAME: %s" % field.name)
#warn("FIELD TYPE: %s" % field.type)
- if field.name == stripClassTag(str(field.type)):
+ if field.is_base_class:
# Field is base type. We cannot use field.name as part
# of the iname as it might contain spaces and other
# strange characters.