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
896907f7
Commit
896907f7
authored
Jun 01, 2010
by
hjk
Browse files
debugger: be nicer in the presence of missing debug information
parent
ea6ff591
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/gdbmacros/dumper.py
View file @
896907f7
...
...
@@ -1198,8 +1198,15 @@ class Dumper:
type
=
value
.
type
if
type
.
code
==
gdb
.
TYPE_CODE_REF
:
type
=
type
.
target
()
value
=
value
.
cast
(
type
)
try
:
# This throws "RuntimeError: Attempt to dereference a
# generic pointer." with MinGW's gcc 4.5 when it "identifies"
# a "QWidget &" as "void &".
type
=
type
.
target
()
value
=
value
.
cast
(
type
)
except
RuntimeError
:
value
=
item
.
value
type
=
value
.
type
if
type
.
code
==
gdb
.
TYPE_CODE_TYPEDEF
:
type
=
type
.
target
()
...
...
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