OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b6bce
)
debugger: fix display of C style 'typedef struct X { ... } X;' types.
author
hjk
<qtc-committer@nokia.com>
Thu, 16 Dec 2010 12:32:47 +0000
(13:32 +0100)
committer
hjk
<qtc-committer@nokia.com>
Thu, 16 Dec 2010 12:35:41 +0000
(13:35 +0100)
share/qtcreator/gdbmacros/dumper.py
patch
|
blob
|
history
diff --git
a/share/qtcreator/gdbmacros/dumper.py
b/share/qtcreator/gdbmacros/dumper.py
index
3600ecb
..
3699fc3
100644
(file)
--- a/
share/qtcreator/gdbmacros/dumper.py
+++ b/
share/qtcreator/gdbmacros/dumper.py
@@
-928,6
+928,9
@@
def extractFields(type):
# This seems to work.
#warn("TYPE 0: %s" % type)
type = stripTypedefs(type)
+ fields = type.fields()
+ if len(fields):
+ return fields
#warn("TYPE 1: %s" % type)
# This fails for arrays. See comment in lookupType.
type0 = lookupType(str(type))