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/uCOS-III.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/uCOS-III.c')
-rw-r--r-- | src/rtos/uCOS-III.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtos/uCOS-III.c b/src/rtos/uCOS-III.c index 304d07c..d62a219 100644 --- a/src/rtos/uCOS-III.c +++ b/src/rtos/uCOS-III.c @@ -508,9 +508,9 @@ static int uCOS_III_get_thread_reg_list(struct rtos *rtos, threadid_t threadid, num_regs); } -static int uCOS_III_get_symbol_list_to_lookup(symbol_table_elem_t *symbol_list[]) +static int uCOS_III_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[]) { - *symbol_list = calloc(ARRAY_SIZE(uCOS_III_symbol_list), sizeof(symbol_table_elem_t)); + *symbol_list = calloc(ARRAY_SIZE(uCOS_III_symbol_list), sizeof(struct symbol_table_elem)); if (*symbol_list == NULL) { LOG_ERROR("uCOS-III: out of memory"); return ERROR_FAIL; |