aboutsummaryrefslogtreecommitdiff
path: root/debug
AgeCommit message (Collapse)AuthorFilesLines
2016-07-18Fix cut and paste bug in test_change_pcTim Newsome1-1/+1
2016-07-18Make tests work with broken 32-bit compiler.Tim Newsome3-11/+34
Apparently the 32-bit compiler doesn't generate good enough debug info for gdb to know what function we're in, which also means it doesn't know where the local variables in those functions are stored.
2016-07-18Add simple register tests.Tim Newsome4-42/+76
Make the RegsTest case a bit more comprehensible.
2016-07-18Add block test.Tim Newsome6-16/+74
2016-07-18Test all memory access sizes.Tim Newsome1-24/+36
2016-07-18All tests pass with spike now.Tim Newsome6-198/+72
I did comment out a couple.
2016-07-18Made some progress towards working with spike.Tim Newsome8-97/+338
I'm writing all the tests so they should just work on real hardware, too.
2016-07-18WIP on debug testing.Tim Newsome12-0/+778
./gdbserver.py --m2gl_m2s --openocd "$HOME/SiFive/openocd/src/openocd -s $HOME/SiFive/openocd/tcl" -- RegsTest.test_write_gprs doesn't fail in a completely crazy way.