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
de9b4e83
Commit
de9b4e83
authored
Oct 15, 2009
by
Oswald Buddenhagen
Browse files
centralize setting of AdapterStarted state
parent
e0a0aebb
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/attachgdbadapter.cpp
View file @
de9b4e83
...
...
@@ -73,7 +73,6 @@ void AttachGdbAdapter::startAdapter()
void
AttachGdbAdapter
::
handleGdbStarted
()
{
QTC_ASSERT
(
state
()
==
AdapterStarting
,
qDebug
()
<<
state
());
setState
(
AdapterStarted
);
emit
adapterStarted
();
}
...
...
src/plugins/debugger/gdb/coregdbadapter.cpp
View file @
de9b4e83
...
...
@@ -73,7 +73,6 @@ void CoreGdbAdapter::startAdapter()
void
CoreGdbAdapter
::
handleGdbStarted
()
{
QTC_ASSERT
(
state
()
==
AdapterStarting
,
qDebug
()
<<
state
());
setState
(
AdapterStarted
);
emit
adapterStarted
();
}
...
...
src/plugins/debugger/gdb/gdbengine.cpp
View file @
de9b4e83
...
...
@@ -4100,6 +4100,7 @@ void GdbEngine::handleAdapterStartFailed(const QString &msg, const QString &sett
void
GdbEngine
::
handleAdapterStarted
()
{
setState
(
AdapterStarted
);
debugMessage
(
_
(
"ADAPTER SUCCESSFULLY STARTED, INITIALIZING GDB"
));
postCommand
(
_
(
"show version"
),
CB
(
handleShowVersion
));
...
...
src/plugins/debugger/gdb/plaingdbadapter.cpp
View file @
de9b4e83
...
...
@@ -93,7 +93,6 @@ void PlainGdbAdapter::startAdapter()
void
PlainGdbAdapter
::
handleGdbStarted
()
{
QTC_ASSERT
(
state
()
==
AdapterStarting
,
qDebug
()
<<
state
());
setState
(
AdapterStarted
);
emit
adapterStarted
();
}
...
...
src/plugins/debugger/gdb/remotegdbadapter.cpp
View file @
de9b4e83
...
...
@@ -93,7 +93,6 @@ void RemoteGdbAdapter::startAdapter()
void
RemoteGdbAdapter
::
handleGdbStarted
()
{
QTC_ASSERT
(
state
()
==
AdapterStarting
,
qDebug
()
<<
state
());
setState
(
AdapterStarted
);
emit
adapterStarted
();
}
...
...
src/plugins/debugger/gdb/trkgdbadapter.cpp
View file @
de9b4e83
...
...
@@ -1563,7 +1563,6 @@ void TrkGdbAdapter::maybeAdapterStarted()
{
QTC_ASSERT
(
state
()
==
AdapterStarting
,
qDebug
()
<<
state
());
if
(
m_gdbProc
.
state
()
==
QProcess
::
Running
&&
m_trkDevice
.
isOpen
())
{
setState
(
AdapterStarted
);
emit
adapterStarted
();
}
}
...
...
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