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

Chris Johns chrisj at rtems.org
Tue Jul 26 03:28:13 UTC 2016


Module:    rtems
Branch:    master
Commit:    f78a5f55da7cfcc659e351783319eeca82273abd
Changeset: http://git.rtems.org/rtems/commit/?id=f78a5f55da7cfcc659e351783319eeca82273abd

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Jul 22 11:19:48 2016 +1000

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

---

 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. */




More information about the vc mailing list