Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/armv7m: prevent storing invalid register
armv7m_start_algorithm() stored all non-debug execution registers from register cache without checking validity. Check if the register cache is valid. Try to read from CPU if not valid. Issue a warning if register read fails. Change-Id: I365f86d65243230cf521b13909575e5986a87a50 Signed-off-by: Tomas Vanek <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/7240 Tested-by: jenkins Reviewed-by: Antonio Borneo <[email protected]> Reviewed-by: Jonathan Bell <[email protected]>
- Loading branch information