summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/abstractgdbadapter.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-07-09 17:07:59 +0200
committerhjk <qtc-committer@nokia.com>2010-07-14 17:49:16 +0200
commite760700f0fea2f9a25cdbbbc1af52a446be4b183 (patch)
tree7a5ac650129e16119e1f076c27262311e4f22982 /src/plugins/debugger/gdb/abstractgdbadapter.cpp
parent6089bc1b9e046b9b1b36dc64ed7920467909ebe8 (diff)
downloadqt-creator-e760700f0fea2f9a25cdbbbc1af52a446be4b183.tar.gz
debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set of allowed transitions.
Diffstat (limited to 'src/plugins/debugger/gdb/abstractgdbadapter.cpp')
-rw-r--r--src/plugins/debugger/gdb/abstractgdbadapter.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/plugins/debugger/gdb/abstractgdbadapter.cpp b/src/plugins/debugger/gdb/abstractgdbadapter.cpp
index bd59e43d00..b3723f1005 100644
--- a/src/plugins/debugger/gdb/abstractgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/abstractgdbadapter.cpp
@@ -39,7 +39,7 @@ namespace Debugger {
namespace Internal {
AbstractGdbAdapter::AbstractGdbAdapter(GdbEngine *engine, QObject *parent)
- : QObject(parent), m_engine(engine)
+ : QObject(parent), m_engine(engine)
{
}
@@ -48,19 +48,20 @@ AbstractGdbAdapter::~AbstractGdbAdapter()
disconnect();
}
-void AbstractGdbAdapter::shutdown()
-{
-}
+//void AbstractGdbAdapter::shutdown()
+//{
+//}
-void AbstractGdbAdapter::runAdapter()
-{
- qDebug() << "START INFERIOR PHASE 2";
-}
+//void AbstractGdbAdapter::runEngine()
+//{
+//}
+/*
const char *AbstractGdbAdapter::inferiorShutdownCommand() const
{
return "kill";
}
+*/
void AbstractGdbAdapter::write(const QByteArray &data)
{
@@ -87,7 +88,7 @@ QString AbstractGdbAdapter::msgInferiorSetupOk()
return tr("Application started");
}
-QString AbstractGdbAdapter::msgInferiorRunning()
+QString AbstractGdbAdapter::msgInferiorRunOk()
{
return tr("Application running");
}