[PATCH] score: Add a STATES_DEBUGGER for use by debugging agents to a thread's state.

Chris Johns chrisj at rtems.org
Fri Jul 22 01:21:36 UTC 2016


---
 cpukit/score/include/rtems/score/statesimpl.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h
index 596246c..17b7342 100644
--- a/cpukit/score/include/rtems/score/statesimpl.h
+++ b/cpukit/score/include/rtems/score/statesimpl.h
@@ -76,6 +76,8 @@ extern "C" {
 #define STATES_WAITING_FOR_SYSTEM_EVENT        0x40000
 /** This macro corresponds to a task waiting for BSD wakeup. */
 #define STATES_WAITING_FOR_BSD_WAKEUP          0x80000
+/** This macro corresponds to a task being held by the debugger. */
+#define STATES_DEBUGGER                        0x100000
 /** This macro corresponds to a task being a zombie. */
 #define STATES_ZOMBIE                          0x200000
 /** This macro corresponds to a task those life is changing. */
-- 
2.4.6



More information about the devel mailing list