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
d00fba8e
Commit
d00fba8e
authored
Jan 28, 2010
by
hjk
Browse files
debugger: work around 'optimized out' function parameters
parent
80b5a6b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
d00fba8e
...
...
@@ -546,9 +546,11 @@ class FrameCommand(gdb.Command):
# Special handling for char** argv.
n
=
0
p
=
item
.
value
while
not
isNull
(
p
.
dereference
())
and
n
<=
100
:
p
+=
1
n
+=
1
# p is 0 for "optimized out" cases.
if
not
isNull
(
p
):
while
not
isNull
(
p
.
dereference
())
and
n
<=
100
:
p
+=
1
n
+=
1
d
.
beginHash
()
d
.
put
(
'iname="%s",'
%
item
.
iname
)
...
...
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