rtos : current_threadid move to rtos context

Change-Id: I49d9d6d64c418be601d8723cb3eea9c3716ecb6b
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-on: http://openocd.zylin.com/343
Tested-by: jenkins
Reviewed-by: Evan Hunter <evan@ozhiker.com>
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
This commit is contained in:
Michel JAOUEN
2012-01-03 16:07:55 +01:00
committed by Øyvind Harboe
parent 1db60b9c43
commit ff3028ce1b
2 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,8 @@ struct rtos
symbol_table_elem_t * symbols;
struct target *target;
/* add a context variable instead of global variable */
int64_t current_threadid;
threadid_t current_thread;
struct thread_detail* thread_details;
int thread_count;