9bf5309ec7
Memory for the symbol table was allocated by malloc but not initialized other than with the symbol name. Therefore `address` and `optional` members were having arbitrary values leading to every symbol being optional most of the time which messes up RTOS auto-detection. Memory will now be zero-initialized as in other RTOS implementations. Change-Id: I6c6e31ec1ef7e043061adf8c695b2139620e005d Signed-off-by: Daniel Krebs <github@daniel-krebs.net> Reviewed-on: http://openocd.zylin.com/3017 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com> |
||
---|---|---|
.. | ||
ChibiOS.c | ||
eCos.c | ||
embKernel.c | ||
FreeRTOS.c | ||
linux_header.h | ||
linux.c | ||
Makefile.am | ||
mqx.c | ||
rtos_chibios_stackings.c | ||
rtos_chibios_stackings.h | ||
rtos_ecos_stackings.c | ||
rtos_ecos_stackings.h | ||
rtos_embkernel_stackings.c | ||
rtos_embkernel_stackings.h | ||
rtos_mqx_stackings.c | ||
rtos_mqx_stackings.h | ||
rtos_standard_stackings.c | ||
rtos_standard_stackings.h | ||
rtos.c | ||
rtos.h | ||
ThreadX.c |