rtos: Fix constness of struct rtos_type
Change-Id: Iaa89f2ff4036c23f944ffb4f37fe0c7afaf5069b Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6680 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
43c8aa28cb
commit
d032e7ec8c
@@ -80,7 +80,7 @@ static int freertos_get_thread_reg_list(struct rtos *rtos, int64_t thread_id,
|
||||
struct rtos_reg **reg_list, int *num_regs);
|
||||
static int freertos_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[]);
|
||||
|
||||
struct rtos_type freertos_rtos = {
|
||||
const struct rtos_type freertos_rtos = {
|
||||
.name = "FreeRTOS",
|
||||
|
||||
.detect_rtos = freertos_detect_rtos,
|
||||
|
||||
Reference in New Issue
Block a user