]> git.sur5r.net Git - openocd/commit
Add gdb_report_register_access_error command
authorTim Newsome <tim@sifive.com>
Tue, 6 Mar 2018 22:10:04 +0000 (14:10 -0800)
committerMatthias Welwarsky <matthias@welwarsky.de>
Sat, 7 Apr 2018 19:31:14 +0000 (20:31 +0100)
commit2e2bb14b276f5bd973308dcfabd1b8018e187243
tree827cdd921636cd329b3ad723ede43ce3ccf51a99
parent0dba1815e6362cc08e983f8f09af0224ad5ae693
Add gdb_report_register_access_error command

With this option enabled (it's disabled by default) errors accessing
registers are returned to gdb. Otherwise they are ignored and success is
reported to gdb. (This is the current behavior.)

We want this for RISC-V, but there's still some cleanup that needs to be
done before that can be upstreamed.

Signed-off-by: Tim Newsome <tim@sifive.com>
Change-Id: I7e56109ea52d18b780c14a07fb35f9e6e8979da4
Reviewed-on: http://openocd.zylin.com/4452
Reviewed-by: Steven Stallion <sstallion@gmail.com>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Tested-by: jenkins
doc/openocd.texi
src/server/gdb_server.c