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
Tobias Hunger
qt-creator
Commits
76fed505
Commit
76fed505
authored
Apr 12, 2010
by
hjk
Browse files
debugger: fix QString dumper
Doh! In contrast to the C++ version we are operating on ushort* here.
parent
fbb8f399
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
76fed505
...
...
@@ -709,7 +709,7 @@ def encodeString(value):
check
(
0
<=
size
and
size
<=
alloc
and
alloc
<=
100
*
1000
*
1000
)
if
size
>
0
:
checkAccess
(
data
,
4
)
checkAccess
(
data
+
size
*
2
)
==
0
checkAccess
(
data
+
size
)
==
0
checkRef
(
d_ptr
[
"ref"
])
p
=
gdb
.
Value
(
d_ptr
[
"data"
])
s
=
""
...
...
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