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
Tobias Hunger
qt-creator
Commits
02f85a99
Commit
02f85a99
authored
Jul 14, 2010
by
hjk
Browse files
debugger: adjust maemo adapter to new architecture
parent
f9453661
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerengine.cpp
View file @
02f85a99
...
...
@@ -1293,8 +1293,7 @@ void DebuggerEngine::notifyInferiorExited()
}
setState
(
InferiorShutdownRequested
);
setState
(
InferiorShutdownOk
);
showMessage
(
_
(
"QUEUE: SHUTDOWN ENGINE"
));
QTimer
::
singleShot
(
0
,
d
,
SLOT
(
doShutdownEngine
()));
d
->
queueShutdownEngine
();
}
void
DebuggerEngine
::
setState
(
DebuggerState
state
,
bool
forced
)
...
...
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
View file @
02f85a99
...
...
@@ -171,7 +171,6 @@ void RemoteGdbServerAdapter::setupInferior()
}
m_engine
->
postCommand
(
"set target-async on"
,
CB
(
handleSetTargetAsync
));
QString
x
=
startParameters
().
executable
;
QFileInfo
fi
(
startParameters
().
executable
);
QString
fileName
=
fi
.
absoluteFilePath
();
m_engine
->
postCommand
(
"-file-exec-and-symbols
\"
"
...
...
@@ -210,7 +209,6 @@ void RemoteGdbServerAdapter::handleTargetRemote(const GdbResponse &record)
{
QTC_ASSERT
(
state
()
==
InferiorSetupRequested
,
qDebug
()
<<
state
());
if
(
record
.
resultClass
==
GdbResultDone
)
{
m_engine
->
notifyInferiorStopOk
();
// gdb server will stop the remote application itself.
showMessage
(
_
(
"INFERIOR STARTED"
));
showMessage
(
msgAttachedToStoppedInferior
(),
StatusBar
);
...
...
@@ -225,6 +223,8 @@ void RemoteGdbServerAdapter::handleTargetRemote(const GdbResponse &record)
void
RemoteGdbServerAdapter
::
runEngine
()
{
m_engine
->
notifyEngineRunAndInferiorStopOk
();
m_engine
->
notifyInferiorRunRequested
();
m_engine
->
continueInferiorInternal
();
}
...
...
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