Commit Graph

37 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka bc47ff4883 feat: implement qThreadExtraInfo
TODO: figure out what this exactly does lol
2024-03-05 23:14:50 -06:00
Rekai Nyangadzayi Musuka 3670bebbc4 feat: implement 'T' packet 2024-03-05 23:14:32 -06:00
Rekai Nyangadzayi Musuka 309851ab06 fix: make xml memory map optional
Can make it mandatory once I've figured out the whole NDS memory map thing
2024-03-05 23:13:47 -06:00
Rekai Nyangadzayi Musuka 7ae72ed5a8 fix: ensure gdb thread respects + communicates w/ should_quit atomic bool 2024-03-05 20:56:57 -06:00
Rekai Nyangadzayi Musuka 8d2c76e410 chore: attempt to resolve problem with zig pm hash 2024-02-10 15:25:10 -06:00
Rekai Nyangadzayi Musuka 8c3a166a5d chore: update to 0.12.0-dev.2063+804cee3b9 2024-02-08 19:29:54 -06:00
Rekai Nyangadzayi Musuka eb8e5175bd fix: make gdbstub more modular
in prep for supporting zba and turbo with the same codebase
2023-12-27 21:02:07 -06:00
Rekai Nyangadzayi Musuka 479319e7ca fix: general bug fixes
1) prevent integer overflow if the PC is less than 0x0000_0004
2) gracefully exit when gdb gracefully exits
3) rename server to socket in Server.zig
2023-12-15 02:47:01 -06:00
Rekai Nyangadzayi Musuka 5947747533 chore: allow use as git submodule 2023-12-15 00:49:02 -06:00
Rekai Nyangadzayi Musuka 93cd6b1c5b feat: drop use std.net instead of zig-network 2023-12-14 22:40:56 -06:00
Rekai Nyangadzayi Musuka e5c1d4d2b7 feat: update dependency for zig v0.11.0 2023-12-14 21:25:12 -06:00
Rekai Nyangadzayi Musuka dc159b4aeb chore: update to latest zig 2023-07-11 00:45:11 -05:00
Rekai Nyangadzayi Musuka 39a4260ffd chore: update to the new build system 2023-06-19 12:09:07 -05:00
Rekai Nyangadzayi Musuka 215e053b9a chore: replace link() with getModule() 2023-03-19 20:44:36 -05:00
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 c1158b547e chore: update to zig master
current zig master has changes to build system
TODO: make use of Zig's package manager
2023-02-07 17:02:33 -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 feb222c262 chore: add README.md 2022-12-11 04:04:57 -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