aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/entry.S
AgeCommit message (Collapse)AuthorFilesLines
2017-09-18Add interrupts to MulticoreRunHaltStepiTest.Tim Newsome1-1/+1
Just to hammer on anything at once, and hopefully catch weird interactions if they exist.
2017-09-14Test debugging code with interrupts.Tim Newsome1-3/+1
2017-09-01Add some infrastructure for multicore tests.Tim Newsome1-8/+7
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-08-28WIP multicore testing.Tim Newsome1-7/+36
2017-08-28Make the debug tests aware of multicore.Tim Newsome1-0/+7
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-07-20Add back code to clean up triggers in entry.STim Newsome1-0/+9
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-03Don't clear triggers during execution.Tim Newsome1-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-27Tolerate missing misa register.Tim Newsome1-1/+7
At least in the test programs. There are other places where this causes trouble as well.
2017-04-14debug: checkpoint of trying to get simulation tests workingMegan Wachs1-0/+15
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 Dabbelt1-1/+1
This changed a while ago in binutils.
2016-12-07Use XLEN macro for these sources as well.Tim Newsome1-1/+1
All tests pass on spike32 and spike64 again.
2016-12-06avoid non-standard predefined macrosAndrew Waterman1-1/+1
2016-09-29Clear triggers during entry.Tim Newsome1-0/+9
If the last test leaves some triggers set they should be cleaned up.
2016-07-19I think I've finally got malloc working right.Tim Newsome1-3/+3
Now gdb can call functions and change strings.
2016-07-18Add block test.Tim Newsome1-1/+1
2016-07-18All tests pass with spike now.Tim Newsome1-0/+132
I did comment out a couple.