target/arc: introduce breakpoint functionality
authorEvgeniy Didin <didin@synopsys.com>
Mon, 16 Mar 2020 17:38:00 +0000 (20:38 +0300)
committerOleksij Rempel <linux@rempel-privat.de>
Fri, 8 May 2020 20:23:05 +0000 (21:23 +0100)
commitda41bce3aee99f1fd2c661f874c90d20b4fefa04
treef23a9cc8d2b4bdcf739cf4d11bafc251a4c712b0
parentc693508f7717d3e5cf118da38d4a5411c59cef1a
target/arc: introduce breakpoint functionality

With this patch we introduce set/unset breakpoints
routines and add/remove bp handlers.
Currently soft breakpoints are only supported.

Changes since v1:
* Change if-statement in arc_remove_breakpoint
* Squash changes from http://openocd.zylin.com/#/c/5641/
  in this commit to fix build.

Change-Id: Ib10ccdb02fd1606e4f407f012b1bee106a8ffccd
Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Reviewed-on: http://openocd.zylin.com/5641
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
src/target/arc.c
src/target/arc.h