riscv-openocd/src/rtos
Tim Newsome 0819541366 gdb_server, rtos: Fine-grained RTOS register access
1. Add get_thread_reg() to rtos. It's used in rtos_get_gdb_reg() to read
the value of a single register, instead of reading all register values
by calling get_thread_reg_list().
2. Add set_reg() to rtos. gdb_server uses this to change a single
register value for a specific thread.
3. Add target_get_gdb_reg_list_noread() so it's possible for gdb to get
a list of registers without attempting to read their contents.

The clang static checker doesn't find any new problems with this change.

Change-Id: I77f792d1238cb015b91527ca8cb99593ccc8870e
Signed-off-by: Tim Newsome <tim@sifive.com>
Reviewed-on: http://openocd.zylin.com/5114
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
2019-08-28 08:07:37 +01:00
..
ChibiOS.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
FreeRTOS.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
Makefile.am rtos/hwthread: add hardware-thread pseudo rtos 2019-03-08 12:54:47 +00:00
ThreadX.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
chromium-ec.c rtos: Add RTOS task awareness for Chromium-EC 2019-01-23 15:27:01 +00:00
eCos.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
embKernel.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
hwthread.c rtos/hwthread: add hardware-thread pseudo rtos 2019-03-08 12:54:47 +00:00
linux.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
linux_header.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mqx.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
nuttx.c gdb_server: fix GDB_BUFFER_SIZE usage, fix unaligned access during bulk transfers 2019-06-04 21:37:41 +01:00
nuttx_header.h rtos: add support for NuttX 2018-08-01 14:33:50 +01:00
rtos.c gdb_server, rtos: Fine-grained RTOS register access 2019-08-28 08:07:37 +01:00
rtos.h gdb_server, rtos: Fine-grained RTOS register access 2019-08-28 08:07:37 +01:00
rtos_chibios_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_chibios_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ecos_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_ecos_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_embkernel_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_embkernel_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_mqx_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_mqx_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_standard_stackings.c rtos: support gdb_get_register_packet 2018-10-16 11:58:03 +01:00
rtos_standard_stackings.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
rtos_ucos_iii_stackings.c esirisc: support eSi-RISC targets 2018-10-16 11:58:24 +01:00
rtos_ucos_iii_stackings.h esirisc: support eSi-RISC targets 2018-10-16 11:58:24 +01:00
uCOS-III.c rtos: check symbol list when updating uCOS-III 2018-10-16 11:59:11 +01:00