I'm trying to use OpenOCD's RTOS support for debugging, here's what I am getting:
0.9.0
Code: Select all
Info : Successfully loaded memory map of ChibiOS/RT target running version 3.1.5
Error: ChibiOS registry integrity check failed, double linked list violation
Info : Only showing current execution because of a broken ChibiOS thread registry.
.....
.....
Error: Error: null stack pointer in thread
0.10.0
Code: Select all
Info : Successfully loaded memory map of ChibiOS/RT target running version 3.1.5
Error: ChibiOS registry integrity check failed, NULL pointer
Info : Only showing current execution because of a broken ChibiOS thread registry.
Then GDB exits.
Also, it does not detect it all when using LTO:
Code: Select all
Warn : RTOS ChibiOS not detected. (GDB could not find symbol 'chSysInit')
I am using the latest GCC from arm. (6.2.1-2017q1)
Any ideas?