Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-09-14 | misa is stored in the hart now, not the target | Tim Newsome | 1 | -6/+6 | |
2017-09-14 | When spike fails to launch, display its output. | Tim Newsome | 1 | -21/+29 | |
2017-09-14 | Test debugging code with interrupts. | Tim Newsome | 5 | -4/+80 | |
2017-09-14 | Call postMortem() when a test fails. | Tim Newsome | 1 | -0/+10 | |
2017-09-14 | Clarify timeout units. | Tim Newsome | 1 | -0/+1 | |
2017-09-01 | Add some infrastructure for multicore tests. | Tim Newsome | 5 | -40/+61 | |
When compiling, define the number of harts. This means we only need to allocate a lot of stack if there are a lot of harts. | |||||
2017-09-01 | Use 32-bit link script for 32-bit target. | Tim Newsome | 1 | -1/+1 | |
2017-08-28 | This file isn't ready yet. | Tim Newsome | 1 | -11/+0 | |
2017-08-28 | Forgot to add this file. | Tim Newsome | 1 | -0/+81 | |
2017-08-28 | Increase remotetimeout for spike targets. | Tim Newsome | 5 | -0/+15 | |
On overloaded systems, when executing compare-sections, otherwise gdb might hit a timeout and the compare-sections code doesn't deal with it. (You get an error message complaining that 130 is not a valid hex digit.) | |||||
2017-08-28 | Fix rebase bug. | Tim Newsome | 1 | -1/+3 | |
2017-08-28 | Make MemTestBlock output a more descriptive error. | Tim Newsome | 1 | -11/+15 | |
2017-08-28 | Fix MemTest* after sloppy rebase. | Tim Newsome | 1 | -2/+2 | |
2017-08-28 | Rename test to MulticoreRunHaltStepiTest. | Tim Newsome | 1 | -1/+1 | |
2017-08-28 | Make pylint happy. | Tim Newsome | 3 | -3/+3 | |
2017-08-28 | WIP multicore testing. | Tim Newsome | 7 | -18/+95 | |
2017-08-28 | WIP towards multiple gdb instances. | Tim Newsome | 1 | -4/+14 | |
2017-08-28 | Make the debug tests aware of multicore. | Tim Newsome | 17 | -189/+267 | |
Targets now contain an array of harts. When running a regular test, one hart is selected to run the test on while the remaining harts are parked in a safe infinite loop. There's currently only one test that tests multicore behavior, but there could be more. The infrastructure should be able to support heterogeneous multicore, but I don't have a target like that to test with. | |||||
2017-08-28 | Increase delay in UserInterrupt. | Tim Newsome | 1 | -1/+1 | |
When a machine is very loaded, otherwise it could happen that we send the interrupt before the resume has actually happened. | |||||
2017-08-14 | Put logfile code back so everything works again. | Tim Newsome | 2 | -4/+5 | |
I don't exactly understand why it has to be the way it is, but I just want it to work. Also fix a pylint complaint. | |||||
2017-08-14 | Merge pull request #66 from riscv/debug_user_niceness | Megan Wachs | 2 | -6/+14 | |
Debug: Usability Features | |||||
2017-08-14 | debug: clean up Temporary Log File messages | Megan Wachs | 1 | -2/+2 | |
2017-08-14 | debug: Avoid None type error | Megan Wachs | 1 | -1/+1 | |
2017-08-14 | debug: Revert change to print backtrace, as that is actually already printed | Megan Wachs | 1 | -2/+0 | |
2017-08-14 | debug: Allow OpenOCD startup timeout to be specified. Print out path to log ↵ | Megan Wachs | 2 | -5/+13 | |
files. | |||||
2017-08-14 | When a test fails with exception, actually print out the reason why. | Megan Wachs | 1 | -0/+2 | |
2017-08-13 | Make MemTest* catch reading too many words. | Tim Newsome | 1 | -7/+6 | |
For one of the test addresses, use the highest possible one to ensure that OpenOCD isn't secretly reading/writing more words than requested. | |||||
2017-08-11 | Show the OpenOCD log in all(?) failure cases. | Tim Newsome | 1 | -23/+29 | |
2017-08-11 | Print out name of logfile when debug test is run. | Tim Newsome | 1 | -5/+5 | |
2017-08-11 | When make fails to run a test, print out the log. | Tim Newsome | 2 | -2/+6 | |
2017-08-11 | Don't use `set pipefail` which is a bashism. | Tim Newsome | 1 | -7/+5 | |
Instead, just give up on making the log files altogether now. Since gdbserver.py makes its own log files it's not as necessary in any case. This is yet another commit in an attempt to get the riscv-tools build to actually fail if these tests fail. | |||||
2017-08-11 | Don't eat errors in debug Makefile. | Tim Newsome | 1 | -0/+1 | |
2017-08-10 | Don't run debug tests as part of build. | Tim Newsome | 1 | -1/+1 | |
Testing is a separate step. Also fix Issue #64 by adding src_dir to the path to the targets file. | |||||
2017-08-10 | Pylint target files as well. | Tim Newsome | 2 | -2/+2 | |
This would have prevented some bugs I committed earlier. | |||||
2017-08-10 | Give these sim targets a chance of passing. | Tim Newsome | 3 | -5/+11 | |
Also make sure vsim.log makes it into the generated log file. | |||||
2017-07-31 | Fix the end of MulticoreTest. | Tim Newsome | 1 | -30/+22 | |
Now it actually confirms that we're talking to two different cores which have different values in their registers. Previously it could have been fooled if eg. the thread command was a nop. | |||||
2017-07-27 | Make pylint happy. | Tim Newsome | 1 | -2/+2 | |
2017-07-26 | Use new OpenOCD messages to determine gdb port. | Tim Newsome | 1 | -41/+8 | |
This is simpler and more reliable than playing around with lsof. Specifically, it works if the OpenOCD command is "strace openocd" while the previous code did not. | |||||
2017-07-21 | Only clean up logfiles that we know we created. | Tim Newsome | 1 | -1/+1 | |
2017-07-20 | Add back code to clean up triggers in entry.S | Tim Newsome | 3 | -0/+24 | |
Then for targets that can't handle this because they don't implement hmode, add a target setting that allows that to be specified. | |||||
2017-07-18 | Check all PCs after reset. | Tim Newsome | 1 | -1/+7 | |
2017-07-12 | Print out logs in more failure cases. | Tim Newsome | 1 | -4/+10 | |
2017-07-06 | debug: Make the 'out of reset' tests actually apply reset | mwachs5 | 1 | -0/+5 | |
2017-07-03 | Add gdb_setup to target for arbitrary gdb commands | Tim Newsome | 2 | -0/+7 | |
I'm using this for a target where misa is at an old address, to set riscv use_compressed_breakpoints off | |||||
2017-07-03 | Don't clear triggers during execution. | Tim Newsome | 1 | -9/+0 | |
This shouldn't affect triggers set by the debugger, because running code can't change those. When it does affect them, it breaks Hwbp1 which sets the breakpoint before running the program. | |||||
2017-06-27 | Tolerate missing misa register. | Tim Newsome | 1 | -1/+7 | |
At least in the test programs. There are other places where this causes trouble as well. | |||||
2017-06-26 | Move target definition into individual files. | Tim Newsome | 26 | -284/+184 | |
Instead of defining each target in targets.py, now each target gets its own .py file. This means people can easily keep their own target files around that they may not want to put into the main test source. As part of that, I removed the freedom-u500-sim target since I assume it's only used internally at SiFive. Added a few cleanups as well: * Update README examples, mostly --sim_cmd instead of --cmd. * Allow defining misa in a target, to skip running of ExamineTarget. * Rename target.target() to target.create(), which is less confusing. * Default --sim_cmd to `spike` * Got rid of `use_fpu`, instead looking at F or D in $misa. | |||||
2017-06-22 | Add basic multicore test. | Tim Newsome | 3 | -42/+128 | |
2017-06-20 | Smoketest multicore. | Tim Newsome | 3 | -14/+55 | |
When connecting to gdb, select a random thread and use that for the current test. Also replace infinite_loop with something that will later allow smoketesting of more than one thread. | |||||
2017-06-19 | Write OpenOCD log when it crashes early. | Tim Newsome | 1 | -2/+4 | |