aboutsummaryrefslogtreecommitdiff
path: root/debug/programs/debug.c
AgeCommit message (Collapse)AuthorFilesLines
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.