Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-28 | Add tests for virtual priv register. | Tim Newsome | 2 | -0/+63 | |
Users can use this register to inspect and change the privilege level of the core. It doesn't make any assumptions about the actual underlying debug mechanism (as opposed to having the user change DCSR directly, which may not exist in all debug implementations). | |||||
2016-07-28 | Add --gdb argument so I can run valgrind on gdb. | Tim Newsome | 3 | -14/+25 | |
2016-07-27 | Rename m2gl_m2s to freedom-e300. (#19) | Tim Newsome | 3 | -3/+3 | |
It's possible to flash the Freedom E300 onto different FPGA boards, and then debug them in the exact same way. | |||||
2016-07-25 | Display log file during build if testing fails. | Tim Newsome | 3 | -16/+12 | |
That way somebody doesn't need to spend forever trying to reproduce a travis failure when all they really need is the logfile. | |||||
2016-07-19 | Run debug tests from main Makefile. | Tim Newsome | 1 | -2/+8 | |
2016-07-19 | Use unique filenames for block test. | Tim Newsome | 1 | -6/+7 | |
Fixes occasional failure when multiple tests are run at once. | |||||
2016-07-19 | Add 32-bit support. | Tim Newsome | 1 | -1/+9 | |
2016-07-19 | Be verbose, since output is going to a log file. | Tim Newsome | 1 | -2/+2 | |
2016-07-19 | Add Makefile. | Tim Newsome | 3 | -19/+42 | |
Add --isolate argument which enables the 32- and 64-bit spikes to be tested simultaneously. | |||||
2016-07-19 | Fix test_instant_halt. | Tim Newsome | 1 | -5/+27 | |
Only check for things that the spec guarantees when coming out of reset. | |||||
2016-07-19 | Fix test_block for 64-bit targets. | Tim Newsome | 1 | -1/+1 | |
2016-07-19 | Fix test_32 on 64-bit targets. | Tim Newsome | 1 | -1/+3 | |
2016-07-19 | Only run hwbp tests on targets that support them. | Tim Newsome | 1 | -0/+9 | |
2016-07-19 | Tell gdb what xlen is when there's no ELF file. | Tim Newsome | 1 | -0/+6 | |
This makes several spike32 tests pass that used to fail. Ideally gdb wouldn't need to be told, but that's a project for another day. | |||||
2016-07-19 | flush spike log after initial write. | Tim Newsome | 1 | -0/+1 | |
This makes sure the execution line is the first one in the logfile. | |||||
2016-07-19 | I think I've finally got malloc working right. | Tim Newsome | 5 | -14/+27 | |
Now gdb can call functions and change strings. | |||||
2016-07-19 | Make variables local again, now that gdb is "fixed." | Tim Newsome | 1 | -6/+2 | |
2016-07-19 | Add test for gdb function calls. | Tim Newsome | 3 | -1/+613 | |
2016-07-18 | Test step over invalid instruction. | Tim Newsome | 2 | -9/+16 | |
2016-07-18 | Turn off debugging. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Remove hardware breakpoints so future tests work. | Tim Newsome | 1 | -0/+3 | |
2016-07-18 | Make DownloadTest pass on boards with little RAM. | Tim Newsome | 1 | -1/+4 | |
2016-07-18 | Increase TCK speed. | Tim Newsome | 2 | -1/+2 | |
2016-07-18 | Write command to logfile. | Tim Newsome | 1 | -0/+2 | |
2016-07-18 | Add test for debuginfo symbols. | Tim Newsome | 1 | -0/+8 | |
Currently fails with 32-bit tools. | |||||
2016-07-18 | Add explicit test for stepping over branches/jumps. | Tim Newsome | 2 | -1/+46 | |
2016-07-18 | Improve formatting. Add examples. | Tim Newsome | 1 | -3/+26 | |
2016-07-18 | Increase "load" timeout. | Tim Newsome | 1 | -3/+3 | |
2016-07-18 | Bump up speed. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Add a few tips. | Tim Newsome | 1 | -0/+12 | |
2016-07-18 | Update IDCODE. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Add test_hwbp_2. | Tim Newsome | 1 | -1/+12 | |
2016-07-18 | Add test_too_many_hwbp. | Tim Newsome | 1 | -0/+7 | |
2016-07-18 | Fix hwbp test. | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Add hwbp test (currently doesn't pass). | Tim Newsome | 2 | -0/+16 | |
2016-07-18 | Fix cut and paste bug in test_change_pc | Tim Newsome | 1 | -1/+1 | |
2016-07-18 | Make tests work with broken 32-bit compiler. | Tim Newsome | 3 | -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-18 | Add simple register tests. | Tim Newsome | 4 | -42/+76 | |
Make the RegsTest case a bit more comprehensible. | |||||
2016-07-18 | Add block test. | Tim Newsome | 6 | -16/+74 | |
2016-07-18 | Test all memory access sizes. | Tim Newsome | 1 | -24/+36 | |
2016-07-18 | All tests pass with spike now. | Tim Newsome | 6 | -198/+72 | |
I did comment out a couple. | |||||
2016-07-18 | Made some progress towards working with spike. | Tim Newsome | 8 | -97/+338 | |
I'm writing all the tests so they should just work on real hardware, too. | |||||
2016-07-18 | WIP on debug testing. | Tim Newsome | 12 | -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. |