Skip to content
GitLab
Menu
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
e4796731
Commit
e4796731
authored
Dec 08, 2008
by
hjk
Browse files
compile fix
parent
b09bdf08
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdbengine.cpp
View file @
e4796731
...
...
@@ -1271,6 +1271,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
if
(
isStoppedReason
(
reason
)
||
reason
.
isEmpty
())
{
// Need another round trip
if
(
reason
==
"breakpoint-hit"
)
{
q
->
showStatusMessage
(
tr
(
"Stopped at breakpoint."
),
-
1
);
GdbMi
frame
=
data
.
findChild
(
"frame"
);
//qDebug() << frame.toString();
m_currentFrame
=
frame
.
findChild
(
"addr"
).
data
()
+
'%'
+
...
...
@@ -1282,6 +1283,7 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
QVariant
var
=
QVariant
::
fromValue
<
GdbMi
>
(
data
);
sendCommand
(
"p 0"
,
GdbAsyncOutput2
,
var
);
// dummy
}
else
{
q
->
showStatusMessage
(
tr
(
"Stopped. %1"
).
arg
(
reason
),
-
1
);
handleAsyncOutput2
(
data
);
}
return
;
...
...
src/plugins/debugger/watchwindow.h
View file @
e4796731
...
...
@@ -78,7 +78,7 @@ private:
void
editItem
(
const
QModelIndex
&
idx
);
void
reset
();
/* reimpl */
void
modelR
esetHelper
(
const
QModelIndex
&
idx
);
void
r
esetHelper
(
const
QModelIndex
&
idx
);
bool
m_alwaysResizeColumnsToContents
;
Type
m_type
;
...
...
tests/manual/gdbdebugger/simple/app.cpp
View file @
e4796731
...
...
@@ -785,8 +785,13 @@ int main(int argc, char *argv[])
testVariant3
();
testVector
();
testVectorOfList
();
*
(
int
*
)
0
=
0
;
testObject
(
argc
,
argv
);
//QColor color(255,128,10);
//QFont font;
...
...
Write
Preview
Supports
Markdown
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