aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/rtos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtos/rtos.h')
-rw-r--r--src/rtos/rtos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h
index 93a980e2..df0812fc 100644
--- a/src/rtos/rtos.h
+++ b/src/rtos/rtos.h
@@ -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;