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
62811941
Commit
62811941
authored
Mar 08, 2010
by
hjk
Browse files
debugger: fix display of QContainer<T>::NestedType
parent
a14b1a58
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
62811941
...
...
@@ -877,13 +877,15 @@ class Dumper:
# subsequent underscores are reserved for the implemention.
if
typeobj
.
code
==
gdb
.
TYPE_CODE_PTR
:
return
self
.
stripNamespaceFromType
(
typeobj
.
target
())
+
"__star"
# FIXME: pass ns from plugin
type
=
stripClassTag
(
str
(
typeobj
))
if
len
(
self
.
ns
)
>
0
and
type
.
startswith
(
self
.
ns
):
type
=
type
[
len
(
self
.
ns
):]
pos
=
type
.
find
(
"<"
)
if
pos
!=
-
1
:
type
=
type
[
0
:
pos
]
# FIXME: make it recognize foo<A>::bar<B>::iterator?
while
pos
!=
-
1
:
pos1
=
type
.
rfind
(
">"
,
pos
)
type
=
type
[
0
:
pos
]
+
type
[
pos1
+
1
:]
pos
=
type
.
find
(
"<"
)
return
type
def
isMovableType
(
self
,
type
):
...
...
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