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
fb25e295
Commit
fb25e295
authored
Jan 17, 2011
by
hjk
Browse files
debugger: use 'struct QWidget' to make gdb happy. Again.
parent
75bc676c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
fb25e295
...
...
@@ -3745,7 +3745,7 @@ void GdbEngine::handleWatchPoint(const GdbResponse &response)
//const QByteArray ns = ba.mid(posNs, posWidget - posNs);
const
QByteArray
ns
=
qtNamespace
();
const
QByteArray
type
=
ns
.
isEmpty
()
?
"QWidget*"
:
(
"'"
+
ns
+
"QWidget'*"
);
const
QString
exp
=
_
(
"(*(%1)%2)"
).
arg
(
_
(
type
)).
arg
(
_
(
addr
));
const
QString
exp
=
_
(
"(*(
struct
%1)%2)"
).
arg
(
_
(
type
)).
arg
(
_
(
addr
));
// qDebug() << posNs << posWidget << pos0x << addr << ns << type;
watchHandler
()
->
watchExpression
(
exp
);
}
...
...
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