]> git.sur5r.net Git - openocd/commit
Fix Semihosting FileIO for targets using vcont packet
authorOmair Javaid <omair.javaid@linaro.org>
Thu, 31 May 2018 00:36:53 +0000 (05:36 +0500)
committerMatthias Welwarsky <matthias@welwarsky.de>
Wed, 6 Jun 2018 14:23:04 +0000 (15:23 +0100)
commita077715b71dbe2e02561c3e33d15a0f8bc9be19a
tree1cbd71ad12722ed33e62d106a07ab07ddec67d8c
parent7028f53877dad35a6aca58349160642bccbc9c83
Fix Semihosting FileIO for targets using vcont packet

This patch fixes a bug where target fails to resume after completing GDB FileIO.
We need to update target last run control information to decide resumption. This
was not being done for vcont packets.

Change-Id: I44bea31720f8b877dba97d77a202303d546ea5bd
Signed-off-by: Omair Javaid <omair.javaid@linaro.org>
Reviewed-on: http://openocd.zylin.com/4539
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/server/gdb_server.c