aboutsummaryrefslogtreecommitdiff
path: root/debug/openocd.py
AgeCommit message (Collapse)AuthorFilesLines
2017-06-09Fix using defaults for --server_cmd and --sim_cmdTim Newsome1-1/+1
2016-12-27Use compressed code if the target supports it.Tim Newsome1-1/+1
The main change was to read misa before running any other test. If misa indicates C is supported, then use compressed code. This required changing some tests, mostly to ensure correct alignment. The single step test also needs to know the correct addresses to step through in compressed code. Only print at most 1000 lines from each log file.
2016-10-21Improve reg test a little.Tim Newsome1-6/+14
2016-10-20Test OpenOCD step and resume.Tim Newsome1-5/+34
2016-10-19Actually test something in regs test.Tim Newsome1-2/+4
2016-10-18Add framework to test OpenOCD directly.Tim Newsome1-0/+46
This took a lot of refactoring to make it look reasonable. There isn't actually any functional OpenOCD test yet. But a dummy test runs a command (and fails).