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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h
index e5a7e13..001837f 100644
--- a/src/rtos/rtos.h
+++ b/src/rtos/rtos.h
@@ -50,7 +50,9 @@ struct rtos {
symbol_table_elem_t *symbols;
struct target *target;
/* add a context variable instead of global variable */
+ /* The thread currently selected by gdb. */
int64_t current_threadid;
+ /* The currently selected thread according to the target. */
threadid_t current_thread;
struct thread_detail *thread_details;
int thread_count;