Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
99adbf15
Commit
99adbf15
authored
Aug 11, 2010
by
hjk
Browse files
debugger: fix QTCREATORBUG-814
parent
5023e844
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/gdbmacros.py
View file @
99adbf15
...
...
@@ -1923,6 +1923,8 @@ def qdump__std__set(d, item):
def
qdump__std__string
(
d
,
item
):
data
=
item
.
value
[
"_M_dataplus"
][
"_M_p"
]
baseType
=
item
.
value
.
type
.
unqualified
().
strip_typedefs
()
if
baseType
.
code
==
gdb
.
TYPE_CODE_REF
:
baseType
=
baseType
.
target
().
unqualified
().
strip_typedefs
()
charType
=
baseType
.
template_argument
(
0
)
repType
=
lookupType
(
"%s::_Rep"
%
baseType
).
pointer
()
rep
=
(
data
.
cast
(
repType
)
-
1
).
dereference
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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