server: add function to get openocd shutdown status
authorErhan Kurubas <erhan.kurubas@espressif.com>
Thu, 25 Aug 2022 14:06:40 +0000 (17:06 +0300)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 3 Sep 2022 21:28:11 +0000 (21:28 +0000)
In the app-trace module we are polling the target in the while loops
outside of the server.c
In that loops, we need to catch ctrl+c signal by checking shutdown_openocd
status

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: Id87c709a01470bf6d3642078b160a68ca85f4406
Reviewed-on: https://review.openocd.org/c/openocd/+/7142
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>

No differences found