Commit Graph

21 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka acb59994fc chore: update to latest zig master 2023-02-23 02:43:58 -06:00
Rekai Nyangadzayi Musuka 6d6a109a08 fix: gracefully exit
fix stack overflow bug in State.deinit
allow for code in another thread to signal shutdown to gdbstub
2023-02-13 20:01:01 -06:00
Rekai Nyangadzayi Musuka d7b8d7acb1 feat: implement software breakpoints 2023-01-29 07:18:43 -06:00
Rekai Nyangadzayi Musuka 81ff227ea7 feat: implement memory writes 2023-01-29 07:04:19 -06:00
Rekai Nyangadzayi Musuka 82bad92fcf fix: refactor how `c` and `s` track breakpoints
We move state from Server.zig to Emulator.zig (the interface)
2023-01-26 23:55:31 -06:00
Rekai Nyangadzayi Musuka dbf00006e7 fix: return E22 if hwbreak arr full
Also, ensure that the above case is the only time we return an errno
err. All the others are actually problems when parsing an invalid packet
so we should nack instead
2023-01-26 23:14:23 -06:00
Rekai Nyangadzayi Musuka 59b6b51466 feat: add hardware breakpoints 2023-01-26 20:47:57 -06:00
Rekai Nyangadzayi Musuka 4bca44e5f2 chore: update to lastest zig 2023-01-03 16:54:26 -06:00
Rekai Nyangadzayi Musuka 1bd9964f58 fix: handle ack+packet strings 2022-12-15 20:25:10 -04:00
Rekai Nyangadzayi Musuka 460fcec370 feat: implement instruction-granular stepping 2022-12-15 19:35:38 -04:00
Rekai Nyangadzayi Musuka 21565a9726 feat: gracefully handle disconnects 2022-12-15 06:28:09 -04:00
Rekai Nyangadzayi Musuka 2bc5bdc310 fix: fix errors in memory-map xml 2022-12-15 06:27:41 -04:00
Rekai Nyangadzayi Musuka 51082186d7 fix: reverse the endianness of cpu registers 2022-12-15 06:27:21 -04:00
Rekai Nyangadzayi Musuka 8a58251ef6 feat: implement gdb memory map 2022-12-15 05:06:50 -04:00
Rekai Nyangadzayi Musuka 400e155502 feat: integrate emulator interface
while I figure out the interface with zba, disable the exe example
since it doesn't have an emu to pass to gdbstub
2022-12-15 04:23:32 -04:00
Rekai Nyangadzayi Musuka 26aad8d1ae feat: reconfigure zba-gdbstub as a library 2022-12-15 04:23:05 -04:00
Rekai Nyangadzayi Musuka f1e1efc5e5 feat: workshop emulator interface 2022-12-15 04:22:42 -04:00
Rekai Nyangadzayi Musuka a85874d364 feat: get to user input in gdb 2022-12-15 04:21:16 -04:00
Rekai Nyangadzayi Musuka 8195012573 chore: reorganize code 2022-12-15 04:21:16 -04:00
Rekai Nyangadzayi Musuka 3ba7f22c07 tmp: implement target description 2022-12-11 01:06:29 -04:00
Rekai Nyangadzayi Musuka fa21af5fb6 initial commit 2022-12-10 22:47:11 -04:00