Tim Newsome
de9ebf704e
Remove generic debug tests. ( #65 )
They live in riscv-tests/debug now, since they also test gdb, and can be
used to test other targets besides spike.
10 years ago
Andrew Waterman
e10d2def7d
Update to new PTE format
10 years ago
Tim Newsome
106ece891a
New encoding.h for new CSR addresses.
10 years ago
Tim Newsome
4c3507d350
Use .word for mret, for now.
The current assembler doesn't seem to know it?
10 years ago
Tim Newsome
cfdd0f22f6
Kill spike as soon as the test is done with it.
10 years ago
Tim Newsome
6478085c7b
Link standalone programs at 0x80010000.
This leaves some memory for pk, where it keeps tohost/fromhost which we
cannot just write to.
10 years ago
Tim Newsome
91a4f8114d
Tell gdb we can handle large packets.
This speeds up downloads to 93KB/s, which is starting to get usable.
10 years ago
Tim Newsome
9baa8a015c
Write test for downloading a mostly random program
It passes, but it's slow.
10 years ago
Tim Newsome
8b176c4e96
Force gdb to not print entry values.
All of a sudden gdb decided to start printing them, which messed up the
breakpoint test. It would only print them in the test, not if I manually
ran the same commands. I'm sure it's my fault somehow, but this should
keep things consistent in the future.
10 years ago
Tim Newsome
c7643c32e0
mprv test now breaks like it's supposed to.
10 years ago
Tim Newsome
9b8b9b69d0
Make -H halt the core right out of reset.
Added a test, too.
10 years ago
Tim Newsome
7e5c1b420d
Halt when gdb user hits ^C.
10 years ago
Tim Newsome
a950cdebb6
Fix reading CSRs.
10 years ago
Tim Newsome
dd233bc499
Single step appears to work.
10 years ago
Tim Newsome
d6d23ae847
Only halt on ebreak if a debugger is attached.
10 years ago
Tim Newsome
8571c8791a
Test ebreak without gdb.
Currently this test fails.
10 years ago
Tim Newsome
d1d8863086
Add --gdb-port
It's necessary to be able to run multiple spikes at once on the same
box.
10 years ago
Tim Newsome
c57bdaa033
Do a better job checking CSR functionality.
10 years ago
Tim Newsome
bce01a9ed6
Rename gdbserver-smoke.py to gdbserver.py.
It's not really a smoketest anymore.
10 years ago
Tim Newsome
4efefcf5fe
Test 'info registers all' as well as 'info all-registers'
10 years ago
Tim Newsome
9f0d9a4032
Minor cleanup.
10 years ago
Tim Newsome
0cc52e8e5d
Update regnum handling to match gdb CSR changes.
10 years ago
Tim Newsome
77a51e91f8
Forgot to add this source.
10 years ago
Tim Newsome
daa39a2204
Implement register writes.
10 years ago
Tim Newsome
0ba84e9c8e
Properly clean up spike.
10 years ago
Tim Newsome
64f7d791b7
Implement reading of CSRs.
10 years ago
Tim Newsome
651ad043ce
Add some tests that pass and test something.
10 years ago