Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
561cad37
Commit
561cad37
authored
Oct 08, 2010
by
Friedemann Kleint
Browse files
Debugger: Fix dumping anonymous structs.
Reviewed-by: hjk
parent
373da663
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
561cad37
...
...
@@ -1700,7 +1700,7 @@ class Dumper:
iname
=
"%s.%s"
%
(
item
.
iname
,
name
)
child
=
Item
(
item
.
value
,
iname
,
None
,
name
)
with
SubItem
(
self
):
self
.
put
(
'name="%s",'
,
name
)
self
.
put
(
'name="%s",'
%
name
)
self
.
putValue
(
" "
)
if
str
(
field
.
type
).
endswith
(
"<anonymous union>"
):
self
.
putType
(
"<anonymous union>"
)
...
...
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