Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
7937c292
Commit
7937c292
authored
Mar 02, 2010
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: fix display of pointer values in new dumpers
parent
e5100daa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
share/qtcreator/gdbmacros/dumper.py
share/qtcreator/gdbmacros/dumper.py
+3
-1
No files found.
share/qtcreator/gdbmacros/dumper.py
View file @
7937c292
...
...
@@ -1027,6 +1027,7 @@ class Dumper:
isHandled
=
False
if
str
(
type
.
strip_typedefs
()).
find
(
"("
)
!=
-
1
:
# A function pointer.
self
.
putValue
(
str
(
item
.
value
))
self
.
put
(
'addr="%s",'
%
cleanAddress
(
value
.
address
))
self
.
putType
(
item
.
value
.
type
)
...
...
@@ -1089,7 +1090,8 @@ class Dumper:
if
not
isHandled
:
#warn("GENERIC PLAIN POINTER: %s" % value.type)
self
.
putType
(
item
.
value
.
type
)
self
.
putValue
(
str
(
value
.
address
))
self
.
putValue
(
str
(
value
))
self
.
put
(
'addr="%s",'
%
cleanAddress
(
value
.
address
))
self
.
putNumChild
(
1
)
if
self
.
isExpanded
(
item
):
self
.
beginChildren
()
...
...
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