]> git.sur5r.net Git - openocd/commit
ChibiOS: fix crash on auto detection
authorRichard Braun <rbraun@sceen.net>
Wed, 11 Mar 2015 13:04:15 +0000 (14:04 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Tue, 14 Apr 2015 11:16:50 +0000 (12:16 +0100)
commit7090edc813525caaade84a6322fdce89d3cd8f6a
treeac81640e33dba8599e9c628547a9514f599573a7
parent19f219f731f29503c8e4d432935d3ea558cc1659
ChibiOS: fix crash on auto detection

The detection framework assumes rtos->symbols is dynamically allocated,
an assumption that the ChibiOS variant breaks by providing a raw statically
allocated symbol list.

Change-Id: I379bcc2af99006912608ddd3f646ff7085606f47
Signed-off-by: Richard Braun <rbraun@sceen.net>
Reviewed-on: http://openocd.zylin.com/2597
Tested-by: jenkins
Reviewed-by: Stian Skjelstad <stian@nixia.no>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/rtos/ChibiOS.c