diff options
author | Tim Newsome <tim@sifive.com> | 2021-04-13 11:22:43 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2021-04-13 11:26:25 -0700 |
commit | 7420382a4d9453bf4bf72f2e42728136f9a3b7bb (patch) | |
tree | 4aa04d3b401b9b9da8c29fda93e6ff23a70b29f1 /src/rtos/riot.c | |
parent | 05e962e03a9642f883c0a91c38409ba89ad4fa7c (diff) | |
parent | 0f06d943366154963c6f5eb70f52e70f64fe5c71 (diff) | |
download | riscv-openocd-7420382a4d9453bf4bf72f2e42728136f9a3b7bb.zip riscv-openocd-7420382a4d9453bf4bf72f2e42728136f9a3b7bb.tar.gz riscv-openocd-7420382a4d9453bf4bf72f2e42728136f9a3b7bb.tar.bz2 |
Merge branch 'master' into from_upstream
Conflicts:
.github/workflows/snapshot.yml
NEWS
configure.ac
contrib/loaders/checksum/riscv_crc.c
jimtcl
src/helper/time_support.h
src/jtag/drivers/arm-jtag-ew.c
src/rtos/FreeRTOS.c
src/target/image.c
src/target/riscv/riscv.c
Change-Id: I043624ba540d4672fc123dddb2066bcb9c6b5a05
Diffstat (limited to 'src/rtos/riot.c')
-rw-r--r-- | src/rtos/riot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rtos/riot.c b/src/rtos/riot.c index 15cbb0f..dcba838 100644 --- a/src/rtos/riot.c +++ b/src/rtos/riot.c @@ -35,7 +35,7 @@ static int riot_create(struct target *target); static int riot_update_threads(struct rtos *rtos); static int riot_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, struct rtos_reg **reg_list, int *num_regs); -static int riot_get_symbol_list_to_lookup(symbol_table_elem_t *symbol_list[]); +static int riot_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[]); struct riot_thread_state { int value; @@ -360,9 +360,9 @@ static int riot_get_thread_reg_list(struct rtos *rtos, int64_t thread_id, num_regs); } -static int riot_get_symbol_list_to_lookup(symbol_table_elem_t *symbol_list[]) +static int riot_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[]) { - *symbol_list = calloc(ARRAY_SIZE(riot_symbol_list), sizeof(symbol_table_elem_t)); + *symbol_list = calloc(ARRAY_SIZE(riot_symbol_list), sizeof(struct symbol_table_elem)); if (*symbol_list == NULL) { LOG_ERROR("RIOT: out of memory"); |