aboutsummaryrefslogtreecommitdiff
path: root/debug
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09Add test of compare-sections command.Tim Newsome1-0/+10
2016-12-07Use XLEN macro for these sources as well.Tim Newsome3-4/+4
All tests pass on spike32 and spike64 again.
2016-12-07Use our own XLEN macro.Tim Newsome2-1/+2
Relying on something that the compiler automatically sets is apparently not reliable.
2016-12-07We *do* need the FPU to compile 64-bit code.Tim Newsome1-0/+1
2016-12-07Don't compile with FPU support for now.Tim Newsome1-1/+5
It's not Just Working, and none of the tests so far actually care.
2016-12-07Nicely display compile failures.Tim Newsome1-8/+20
2016-12-07Don't eat compile errors.Tim Newsome1-12/+3
2016-12-07Fix race when finding the port OpenOCD is using.Tim Newsome1-6/+11
2016-12-06avoid non-standard predefined macrosAndrew Waterman4-6/+6
2016-11-14Attempt to work around hard-float linking problemAndrew Waterman1-1/+1
2016-11-10Decrease sleep time to 0.1s.Richard Xia1-2/+2
2016-11-04Tell OpenOCD to pick an unused port, and use lsof to figure out which one it ↵Richard Xia1-3/+27
picked.
2016-10-31Add basic floating point register test.Tim Newsome3-3/+31
2016-10-21Improve reg test a little.Tim Newsome1-6/+14
2016-10-20Test OpenOCD step and resume.Tim Newsome2-6/+56
2016-10-19Fix conflict: JTAG VPI changes vs openocd refactorTim Newsome1-7/+4
2016-10-19Actually test something in regs test.Tim Newsome1-2/+4
2016-10-19Merge pull request #34 from richardxia/use-port-randomizationTim Newsome3-4/+18
Use port randomization for VCS and OpenOCD
2016-10-18Pull port number from VCS output and pass to OpenOCD.Richard Xia3-2/+10
2016-10-18Add framework to test OpenOCD directly.Tim Newsome4-298/+405
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).
2016-10-18Randomize gdb port.Richard Xia1-2/+8
2016-10-14Wait for OpenOCD to start fully before connecting.Tim Newsome1-0/+15
Requires OpenOCD change 4eba841bfee4b6c347423ac28851ab7ee7e75532
2016-10-13Add MemTestWriteInvalid.Tim Newsome1-1/+13
2016-10-03Add test for memory read from invalid address.Tim Newsome2-0/+12
2016-09-30Tolerate remotes that return memory read errors.Tim Newsome1-1/+9
2016-09-29Update dmode test to match spec.Tim Newsome2-46/+101
M-mode writes to triggers with dmode set are now ignored instead of raising an exception. Also added -f/--fail-fast option to gdbserver.
2016-09-29Clear triggers during entry.Tim Newsome1-0/+9
If the last test leaves some triggers set they should be cleaned up.
2016-09-28Disable TriggerDmode while spike is changed.Tim Newsome1-0/+4
2016-09-20Minor tweaks to trigger tests for openocd.Tim Newsome2-10/+16
2016-09-15Rewrite debug testing.Tim Newsome4-264/+762
No longer use unittest. Now tests can return not_applicable if eg. a desired execution mode isn't implemented on a target. Also we do a better job killing spike processes when a test fails. Did a lot of code cleanup, partly by using pylint. Fix the Makefile so that if the test fails, 'make' actually fails too.
2016-09-02Fix/add to instant trigger tests.Tim Newsome2-6/+23
2016-09-02Limit spike RAM so I can run valgrind on it.Tim Newsome1-0/+1
2016-09-01Add some immediate trigger tests.Tim Newsome2-6/+23
2016-09-01Create TriggerTest.Tim Newsome2-21/+136
2016-09-01Add test for address triggers.Tim Newsome2-1/+29
2016-09-01Remove "import ." notation.Tim Newsome1-1/+1
Doesn't work with Python 2.7.9 which is the default in latest Debian.
2016-08-23Use a version range.Richard Xia1-1/+1
2016-08-22Add requirements.txt and reorder imports by type.Richard Xia3-4/+6
2016-08-22Use env shebang so for virtualenv compatibility.Tim Newsome1-1/+1
2016-08-16Fix missing setup in test_turbostep.Tim Newsome1-0/+2
2016-08-16Simplify test_function_call.Tim Newsome2-3/+20
Now it doesn't rely on malloc, which can be tricky to get to work in and of itself.
2016-08-15Add --32 and --64 options to gdbserver.py.Tim Newsome1-4/+17
2016-08-15Fix cut and paste bug.Tim Newsome1-5/+5
Also minor style changes.
2016-08-11Merge pull request #21 from sifive/add_freedom_sim_targetsTim Newsome10-49/+274
Add freedom sim targets
2016-08-11Add FreedomU500 & incorporate feedbackMegan Wachs6-68/+96
2016-08-11Make simple memory test errors more readable.Tim Newsome1-1/+5
2016-08-08By default debug=FalseMegan Wachs1-2/+2
2016-08-08Add U500 TargetMegan Wachs3-2/+72
2016-08-08Some code cleanupMegan Wachs3-6/+5
2016-08-08Added FreedomE300 Simulator targetMegan Wachs5-10/+138