- Dec 15, 2022
-
-
Tim Newsome authored
Test that we work correctly when the hart we're debugging ceases to respond during stepi. Add wait parameter to Gdb.stepi(), in case stepi isn't expected to complete. Parse "could not read registers" error from gdb
-
Tim Newsome authored
Confirm basic debug still works when other harts have been parked using a `cease` instruction. Check that the unavailable harts are inaccessible from gdb. Add Gdb.expect() Parse "unknown thread" error from gdb.
-
Tim Newsome authored
Also make the semi-hosting test program return 10. That's more fragile than returning 0, so makes for a better test.
-
- Dec 09, 2022
-
-
Jerry Zhao authored
-
- Dec 08, 2022
-
-
Chih-Min Chao authored
It is allowed that M-mode only implementation could skip cycle/instret if the Zicntr is not included. Signed-off-by:
Chih-Min Chao <chihmin.chao@sifive.com> Signed-off-by:
Chih-Min Chao <chihmin.chao@sifive.com>
-
- Dec 02, 2022
-
-
Tim Newsome authored
This gives you less noise in the log, and more chance of figuring out what code was actually executed.
-
Tim Newsome authored
`flush regs` is being deprecated.
-
Tim Newsome authored
`cease` is not a standard RISC-V extension, but is (was?) implemented in Rocket, and also exists in some SiFive cores. It's useful to test OpenOCD behavior when a hart becomes unavailable. See also https://github.com/chipsalliance/rocket-chip/issues/1868
-
Tim Newsome authored
-
- Nov 11, 2022
-
-
Tim Newsome authored
Also change the test itself to require less RAM than it did previously. (It had required more than 32KB.)
-
- Nov 05, 2022
-
-
Tim Newsome authored
It would fail intermittently. We can't guarantee all harts resume simultaneously. When we let multiple harts run to a breakpoint at the end of the same loop, one is likely to get there first, and the second won't make it. To avoid this problem, run for a short amount of time instead of to a breakpoint.
-
- Nov 04, 2022
-
-
Tim Newsome authored
Before it might fail incorrectly, because main was close to trap_entry.
-
- Oct 27, 2022
-
-
YenHaoChen authored
* Specify trigger type=2 in trigger.S Previous tests implicitly assume triggers only support type=2. However, a trigger may support multiple types, i.e., type=15. This commit explicitly specifies type=2 in trigger.S to support type 15. * Update debug/programs/trigger.S Co-authored-by:
Tim Newsome <tim@sifive.com> Signed-off-by:
YenHaoChen <39526191+YenHaoChen@users.noreply.github.com> Signed-off-by:
YenHaoChen <39526191+YenHaoChen@users.noreply.github.com> Co-authored-by:
Tim Newsome <tim@sifive.com>
-
- Oct 25, 2022
-
-
Tim Newsome authored
Between October 13 and October 19, something happened that makes the multi-spike tests 4 times slower. Rolling back spike, OpenOCD, or riscv-tests doesn't affect this. Presumably it's due to a kernel or python change in my Ubuntu system. I don't have time to look at this right now, so just increase the timeouts. :-( If I had to guess, there could be a bug in rbb_daisychain.py that wastes a lot of time.
-
- Oct 22, 2022
-
-
Tim Newsome authored
https://github.com/riscv-software-src/riscv-isa-sim/pull/889 put a UART at the address we were using in our 32-bit debug tests.
-
- Oct 21, 2022
-
-
Tim Newsome authored
Fix long line to make pylint happy.
-
Tim Newsome authored
Get coverage of progbuf FPR accesses.
-
- Oct 13, 2022
-
-
Tim Newsome authored
-
Tim Newsome authored
Using the new spike support merged in https://github.com/riscv-software-src/riscv-isa-sim/pull/1109
-
- Oct 11, 2022
-
-
Tim Newsome authored
debug: Add --debug_server arg to open gdb on OpenOCD
-
- Oct 08, 2022
-
-
Tim Newsome authored
Not as useful as I'd like because we don't connect until after examine() has completed, and the test is likely to time out while debugging. But good to have, and maybe I'll expand on it one day.
-
- Oct 07, 2022
-
-
Tim Newsome authored
update gdbserver.py; tolerance value of MemorySampleTest()
-
- Oct 06, 2022
-
-
YenHaoChen authored
The control sequences (^[[?2004h and ^[[?2004l) occur after the gdb.command, which results in Exception fault. This commit removes the control sequences and strips out the blank lines (^M).
-
- Oct 05, 2022
-
-
YenHaoChen authored
-
- Sep 28, 2022
-
-
John Ingalls authored
-
John Ingalls authored
-
- Sep 27, 2022
-
-
John Ingalls authored
-
- Jul 26, 2022
-
-
Tim Newsome authored
These can change at any time and that is OK.
-
- Jul 23, 2022
-
-
Tim Newsome authored
-
- Jul 15, 2022
-
-
Tim Newsome authored
-
Tim Newsome authored
I don't have time to fix the bug right now, and nobody has run into the bug yet in any case.
-
- Jul 11, 2022
-
-
Luke Wren authored
-
- Jul 09, 2022
-
-
Tim Newsome authored
Turn semihosting_fileio on for every hart. This test still fails if it ends up running on hart 1 instead of 0, but at least it's closer to passing. Feels like the remaining problem is in OpenOCD.
-
- Jul 02, 2022
-
-
Tim Newsome authored
-
- Jun 23, 2022
-
-
Tim Newsome authored
* Another pylint upgrade. Lots of format string changes, which are more readable. More files to come... * Satisfy pylint for two more files.
-
- Jun 22, 2022
-
-
Mehmet Oguz Derin authored
The source of benchmarks' Makefile does not use fragments anymore. This commit removes the mention of them from the readme. Signed-off-by:Mehmet Oguz Derin <mehmetoguzderin@mehmetoguzderin.com>
-
- Jun 10, 2022
-
-
Tim Newsome authored
Assume that misaligned loads work correctly. Passes `make -C isa run` against spike (both with and without misaligned support).
-
- Jun 09, 2022
-
-
Andrew Waterman authored
Test misaligned stores
-
Tim Newsome authored
In the original test, confirm that stdout data ends up in the OpenOCD log. In the new test, with `arm semihosting_fileio` enabled, confirm that stdout data ends up in gdb's CLI. This test requires https://github.com/riscv/riscv-openocd/pull/699.
-
- Jun 08, 2022
-
-
Tim Newsome authored
Cover lh, lw, and ld (only on rv64).
-