]> git.sur5r.net Git - openocd/commit
gdb-server/rtos: Send correct answer to "qfThreadInfo" packet
authorChristian Eggers <ceggers@gmx.de>
Mon, 3 Feb 2014 20:12:49 +0000 (21:12 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Mar 2014 20:15:03 +0000 (20:15 +0000)
commitd0507207ab91153622a053795336cce232cb3be9
tree18f285a9c9be245d96c0b353c21572bc15695ad4
parentd36889e692788d4dc4acabd073d57f4a178e3172
gdb-server/rtos: Send correct answer to "qfThreadInfo" packet

Even if no RTOS is configured, "qfThreadInfo" must be answered with "l"
instead of "". Otherwise GDB will switch to the older thread packet ("qL"),
which is not supported by OpenOCD.

Change-Id: Iead045bdf8268bac2378c8f70829b17c37834e44
Signed-off-by: Christian Eggers <ceggers@gmx.de>
Reviewed-on: http://openocd.zylin.com/1925
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/rtos/rtos.c