This is an automated email from Gerrit.

Faisal Shah (faisal.s...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/4488

-- gerrit

commit 267daa2fd3c05603e43e4378f0e9c4f70632bd6f
Author: Faisal Shah <faisal.s...@gmail.com>
Date:   Mon Apr 9 22:46:45 2018 -0500

    ChibiOS thread states: Update thread state to label mapping
    
    Change-Id: I76580be203d7d69b8c5b5440f820156543e0d5cc
    Signed-off-by: Faisal Shah <faisal.s...@gmail.com>

diff --git a/src/rtos/ChibiOS.c b/src/rtos/ChibiOS.c
index a46f7a4..887449e 100644
--- a/src/rtos/ChibiOS.c
+++ b/src/rtos/ChibiOS.c
@@ -69,11 +69,11 @@ struct ChibiOS_chdebug {
 /**
  * @brief ChibiOS thread states.
  */
-static const char * const ChibiOS_thread_states[] = {
-       "READY", "CURRENT", "SUSPENDED", "WTSEM", "WTMTX", "WTCOND", "SLEEPING",
-       "WTEXIT", "WTOREVT", "WTANDEVT", "SNDMSGQ", "SNDMSG", "WTMSG", 
"WTQUEUE",
-       "FINAL"
-};
+#define CH_STATE_NAMES                                                     \
+ "READY", "CURRENT", "WTSTART", "SUSPENDED", "QUEUED", "WTSEM", "WTMTX",  \
+ "WTCOND", "SLEEPING", "WTEXIT", "WTOREVT", "WTANDEVT", "SNDMSGQ",        \
+ "SNDMSG", "WTMSG", "FINAL"
+static const char * const ChibiOS_thread_states[] = {CH_STATE_NAMES};
 
 #define CHIBIOS_NUM_STATES (sizeof(ChibiOS_thread_states)/sizeof(char *))
 

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to