From 2dff35548aaf8a3280e85e73601d05628f4fea84 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Wed, 30 Sep 2009 10:40:47 +0200
Subject: [PATCH] debugger: small adjustments to the state diagram

---
 src/plugins/debugger/debuggermanager.cpp | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp
index b8a93e99b41..f03afc166e8 100644
--- a/src/plugins/debugger/debuggermanager.cpp
+++ b/src/plugins/debugger/debuggermanager.cpp
@@ -95,7 +95,8 @@
 #   define STATE_DEBUG(s)
 #endif
 
-// Note: the Debugger process itself is referred to as 'Debugger',
+// Note: the Debugger process itself and any helper processes like
+// gdbserver, the trk client etc are referred to as 'Adapter',
 // whereas the debugged process is referred to as 'Inferior'.
 //
 //               0 == DebuggerNotReady
@@ -112,11 +113,13 @@
 //                          |
 //                     InferiorStarting --> InferiorStartFailed --> 0
 //                          |
-//         (core)           |
-//      .-----------------<-|
-//      |                   |    (attach)               
-//  InferiorUnrunnable      |----------------------.
+//         (core)           |     (attach) (remote)
+//      .-----------------<-|->--------------------.
+//      |                   v                      |
+//  InferiorUnrunnable      |                      |
 //      |                   |                      v
+//      |                   | (plain)
+//      |                   | (trk)
 //      |                   |
 //      |                   |  .------------------------------------.
 //      |                   |  v                                    |
-- 
GitLab