]> git.sur5r.net Git - openocd/commit
keep gdb aware of threads if RTOS is set but no threads are created
authorZied Guermazi <guermazi.zied@gmail.com>
Sun, 2 Jun 2013 20:21:20 +0000 (22:21 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 1 Jul 2013 08:38:32 +0000 (08:38 +0000)
commita6863e9a52c227086d874ef033de2499005ae318
treebf07b541505e495c389174d5b31e68c9ee57bf3e
parent146dfe32956de7d0fe1912a91c5268728ac0b7e0
keep gdb aware of threads if RTOS is set but no threads are created

if gdb server (openocd) answers qfThreadInfo with an empty string during boot,
gdb will not request thread info anymore. to keep thread awareness in gdb,
we have to answer with a non empty string, 'l' indicates an end of list,
and is a valid answer here.

Change-Id: I7870a5db1090c786f306db16a25871e69b8a9760
Signed-off-by: Zied Guermazi <guermazi.zied@gmail.com>
Reviewed-on: http://openocd.zylin.com/1432
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/rtos/rtos.c