Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8062222e
Commit
8062222e
authored
Dec 16, 2010
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: fix display of C style 'typedef struct X { ... } X;' types.
parent
f0b6bce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
share/qtcreator/gdbmacros/dumper.py
share/qtcreator/gdbmacros/dumper.py
+3
-0
No files found.
share/qtcreator/gdbmacros/dumper.py
View file @
8062222e
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment