]> git.sur5r.net Git - openocd/commit
target: fix display halt message logic
authorTomas Vanek <vanekt@fbl.cz>
Thu, 22 Mar 2018 10:53:40 +0000 (11:53 +0100)
committerMatthias Welwarsky <matthias@welwarsky.de>
Fri, 30 Mar 2018 09:14:56 +0000 (10:14 +0100)
commit37deb37593c20c05a4bb29e1d88671a1f7ec6548
treef323a42c14c410a8ada44e8c4adcb1ee7b34986f
parentf035b0851bbc6a9ccc2b20128ae2e4d3abd9ba38
target: fix display halt message logic

If a target is run from gdb and then stopped from OpenOCD telnet interface,
halt does not show message with status and PC registers.

While on it rename 'display' to 'verbose_halt_msg' and use bool type
instead of int.

Change-Id: Ibe6589015b302e0be97258b06938c297745436a5
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4475
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/openocd.c
src/target/target.c
src/target/target.h