]> git.gag.com Git - fw/openocd/commit
armv8: log the register name which we failed to read or write
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>
Fri, 13 Mar 2020 10:49:25 +0000 (11:49 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 5 Apr 2020 13:11:43 +0000 (14:11 +0100)
commit4ce4aa752b638d8eb39864d1ad498bde139f5233
tree511aeb9294b4bef8d853939a675f5b63732fbf93
parentaf82b97834cfba60144894b79244cf421ff88359
armv8: log the register name which we failed to read or write

when openocd fails to read armv8 register, the user is not informed
which register has caused the error.

for example, in AArch32 state ESR_EL3 read/write is not supported,
thus armv8_dpm_read_current_registers is always failing without mentioning
which register has caused the error.

Change-Id: I24c5abbda9fac24fb77a01777ed15261aeaaf800
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5516
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/armv8_dpm.c