aboutsummaryrefslogtreecommitdiff
path: root/debug
AgeCommit message (Collapse)AuthorFilesLines
2017-06-09Fix using defaults for --server_cmd and --sim_cmdTim Newsome1-1/+1
2017-06-09Default to openocd, not riscv-openocdTim Newsome1-1/+1
AFAICT the normal build process never builds a binary called riscv-openocd.
2017-06-05Make pylint happy.Tim Newsome3-10/+13
If we want we can start using print(), but if so let's consistently use it instead of piecemeal. See also https://stackoverflow.com/questions/28694380/pylint-says-unnecessary-parens-after-r-keyword
2017-05-23Fail if simulator exits early.Richard Xia1-0/+6
2017-05-18debug: Correct the calling for a 32-bit simulation targetMegan Wachs1-1/+1
2017-05-17Shorten the debug testsPalmer Dabbelt1-4/+4
2017-05-17Merge pull request #49 from riscv/no_examine_targetPalmer Dabbelt1-1/+10
No Examine Target
2017-05-17Show the debug logs to stdout, to avoid travis timeoutsPalmer Dabbelt1-1/+1
2017-05-16debug: remove unused auto_int functionMegan Wachs1-3/+0
2017-05-16debug: Allow skipping the ExamineTarget task.Megan Wachs1-4/+9
2017-05-16debug: Allow skipping the ExamineTarget step by specifying misaMegan Wachs1-1/+8
2017-05-16Change Spike's RAM location to match the linker scriptPalmer Dabbelt1-2/+2
2017-05-16Link the infinate loop at 0x10000000Palmer Dabbelt3-1/+3
Spike appears to have a problem geterating DTS at 0x80000000.
2017-05-16Link in encoding.h instead of providing a path to itPalmer Dabbelt5-4/+5
2017-05-16debug: Update OpenOCD configs.Megan Wachs2-5/+4
2017-05-15Disable another PRIV mention, for nowPalmer Dabbelt1-1/+2
2017-05-15Disable the tests that touch PRIV, it's not implemented yetPalmer Dabbelt1-62/+63
2017-05-15Have the openocd invocation match the spike invocationPalmer Dabbelt1-1/+1
2017-05-15Disable some failing tests for nowPalmer Dabbelt1-37/+40
2017-05-15Don't rely on Spike's default ISAPalmer Dabbelt1-1/+3
2017-05-15Don't use the RTOS, and do "reset halt"Palmer Dabbelt1-3/+4
This is the most reliable way to run the tests for now.
2017-05-15Let Spike have the default amount of RAMPalmer Dabbelt1-1/+0
Without this programs won't run.
2017-05-15Don't build openocd here, it's in riscv-tools nowPalmer Dabbelt1-1/+5
2017-05-15debug: fix the make target for debug-checkMegan Wachs1-19/+2
2017-05-15debug: Use consistent 'sim_cmd' argument.Megan Wachs2-2/+2
2017-04-26Set FS before reading F registersPalmer Dabbelt1-0/+4
2017-04-18bump OpenOCD versionMegan Wachs1-1/+1
2017-04-18debug: Don't halt out of reset. It's unrealistic. Use a program which loops ↵Megan Wachs5-5/+20
(actually it just gets an exception anyway).
2017-04-18debug: Use RTOS OpenOCD for Spike for now.Megan Wachs1-1/+1
2017-04-17debug: Checkpoint restoring Spike functionalityMegan Wachs5-29/+51
2017-04-17Merge remote-tracking branch 'origin/newprogram' into debug-0.13Megan Wachs9-18/+42
2017-04-17Merge remote-tracking branch 'origin/priv-1.10' into HEADMegan Wachs6-6/+9
2017-04-14debug: checkpoint trying to get 64 bit programs to compile as well.Megan Wachs1-0/+3
2017-04-14debug: checkpoint of trying to get simulation tests workingMegan Wachs8-9/+29
2017-04-14debug: working with newprogram branchMegan Wachs4-10/+11
2017-03-29Prohibit relaxing the initial gp generationPalmer Dabbelt1-0/+3
I've added an additional linker relaxation that relaxes two instruction pc-relative sequences to one instruction gp relative sequences when possible. This sequence now optimizes the initial gp generation to mv gp, gp which is obviously bogus. The fix is to disable relaxations when setting up gp, preventing the linker from relaxing away this setup code.
2017-03-29Change the global pointer symbol to __global_pointer$Palmer Dabbelt6-6/+6
This changed a while ago in binutils.
2017-03-03Resurrect spike debug supportPalmer Dabbelt2-1/+18
2017-03-03Print an error message when the OpenOCD config file can't be readPalmer Dabbelt1-1/+6
2017-02-24Add assert to save me from myself.Tim Newsome2-4/+5
spike passes the download test, but needs a 15 minute timeout. That's too ridiculous to put in here, but 60s is reasonable.
2017-02-24Keep the DownloadTest source if the test fails.Tim Newsome1-14/+17
2017-02-24Make pylint happy.Tim Newsome1-3/+4
2017-02-21Talk to spike using OpenOCD instead of directly.Tim Newsome2-13/+27
2017-02-17Add HiFive1 target.Tim Newsome3-1/+63
2017-01-02Increase delay in UserInterrupt.Tim Newsome1-1/+1
This makes the test pass reliably (10/10) against the Arty board. Previously it failed intermittently.
2016-12-27Use compressed code if the target supports it.Tim Newsome6-61/+109
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-12-27Clean up .pyc files.Tim Newsome1-1/+1
2016-12-13Fix WriteCsrs test.Tim Newsome1-2/+2
At some point the program changed to use a different register and this test was never updated. If $x1 pointed somewhere bad, that would result in an exception.
2016-12-12Pass newly updated -march, -mabi options to gccAndrew Waterman1-2/+2
2016-12-12Disable tcl and telnet servers when running OpenOCD because the port numbers ↵Richard Xia1-2/+12
might conflict with other processes.