diff options
author | Tim Newsome <tim@sifive.com> | 2019-01-24 15:15:18 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-01-24 15:27:53 -0800 |
commit | afedcb337a79517462765aa62b1988c8857cc724 (patch) | |
tree | 11d36231a907beca10dd6fe597e3d216533444a2 /src/rtos/rtos.h | |
parent | c296c625214c74e25744ed8c2c0b62b65c90532d (diff) | |
download | riscv-openocd-afedcb337a79517462765aa62b1988c8857cc724.zip riscv-openocd-afedcb337a79517462765aa62b1988c8857cc724.tar.gz riscv-openocd-afedcb337a79517462765aa62b1988c8857cc724.tar.bz2 |
WIP on hardware breakpoints.
This is messy, but contains at least some bugfixes.
39/43 tests pass now.
Change-Id: Ic9e8dad2a0ceb237e28c93906d1cd60876a5766d
Diffstat (limited to 'src/rtos/rtos.h')
-rw-r--r-- | src/rtos/rtos.h | 2 |
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; |