aboutsummaryrefslogtreecommitdiff
path: root/debug/targets/RISC-V/spike-2.cfg
AgeCommit message (Collapse)AuthorFilesLines
2019-10-09Remove ocd_ prefix. (#210)Tim Newsome1-1/+1
The latest OpenOCD doesn't need (nor support) this anymore.
2018-08-29Add test case for `riscv expose_custom`.Tim Newsome1-0/+1
Only works against spike, where I've implemented some custom debug registers to test against.
2018-04-02Use `gdb_report_register_access_error enable`Tim Newsome1-0/+1
2018-03-27Test debug authentication.Tim Newsome1-1/+8
Also halt instead of reset spike targets, which tests a more complicated code path.
2018-03-01Ensure an error when reading a non-existent CSR.Tim Newsome1-0/+4
2017-09-29Fix tests to work in multi-gdb mode.Tim Newsome1-0/+19
The Gdb class now can handle connecting to more than one gdb. It enumerates the harts across all connections, and when asked to select a hart, it transparently sends future gdb commands to the correct instance. Multicore tests still have to be aware of some differences. The main one is that when executing 'c' in RTOS mode, all harts resume, while in multi-gdb mode only the current one resumes. Additionally, gdb doesn't set breakpoints until 'c' is issued, so the hart where breakpoints are set needs to be resumed before other harts might see them.