aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2022-12-29debug: Add etrigger test.Tim Newsome1-1/+1
2020-12-14Add tests for memory sampling feature. (#300)Tim Newsome1-0/+2
2018-11-12Simpler/more idiomatic way to keep string on stackTim Newsome1-4/+1
2018-10-29Tweak debug tests to run out of flash.Tim Newsome1-1/+4
Not all tests pass when run out of flash yet, but it's getting a lot closer. The ones still failing on HiFive1-flash are: DebugSymbols, Hwbp2, InstantHaltTest, TriggerDmode, TriggerLoadAddressInstant, and TriggerStoreAddressInstant.
2016-08-16Simplify test_function_call.Tim Newsome1-0/+18
Now it doesn't rely on malloc, which can be tricky to get to work in and of itself.
2016-07-19I think I've finally got malloc working right.Tim Newsome1-2/+5
Now gdb can call functions and change strings.
2016-07-19Make variables local again, now that gdb is "fixed."Tim Newsome1-6/+2
2016-07-19Add test for gdb function calls.Tim Newsome1-0/+2
2016-07-18Make tests work with broken 32-bit compiler.Tim Newsome1-2/+6
Apparently the 32-bit compiler doesn't generate good enough debug info for gdb to know what function we're in, which also means it doesn't know where the local variables in those functions are stored.
2016-07-18Made some progress towards working with spike.Tim Newsome1-14/+33
I'm writing all the tests so they should just work on real hardware, too.
2016-07-18WIP on debug testing.Tim Newsome1-0/+27
./gdbserver.py --m2gl_m2s --openocd "$HOME/SiFive/openocd/src/openocd -s $HOME/SiFive/openocd/tcl" -- RegsTest.test_write_gprs doesn't fail in a completely crazy way.