]> git.sur5r.net Git - openocd/commit
gdb: fix extended-remote restart
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 11 Oct 2012 10:19:52 +0000 (11:19 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 17 Oct 2012 18:21:53 +0000 (18:21 +0000)
commit98a41bca6ed5711c972fdd75167ffc031377a456
tree62b38166fb2f38a870a9edda739fd89136995851
parent443197aff0e4b3e2ba01635f2862aca90ac26349
gdb: fix extended-remote restart

Seems versions of gdb > 6.8 require an W stop reply after receiving a
kill packet.

Without this we receive the following error from gdb:
gdb/thread.c:72: internal-error: inferior_thread: Assertion `tp' failed.

Change-Id: I86765a321f0429c9b517fe13ded0ee2dbd4b2f87
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/911
Tested-by: jenkins
Reviewed-by: Joel Bodenmann <joel@unormal.org>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/server/gdb_server.c