Implement GDB/LLDB compatible server #3

Merged
SonicSwordcane merged 33 commits from debugger into main 2025-01-19 00:13:43 +00:00
33 Commits
Author SHA1 Message Date
SonicSwordcane 16a2aaee92 Fix status returned on interrupt 2025-01-18 19:10:55 -05:00
SonicSwordcane d59da1009a Fix watchpoint reporting 2025-01-18 18:51:25 -05:00
SonicSwordcane 9d37d22a22 Fix LTO for windows/linux, disable for OSX 2025-01-18 17:01:17 -05:00
SonicSwordcane e1a8006af7 Statically compile that callback too 2025-01-18 13:57:19 -05:00
SonicSwordcane 9f7895a457 Statically compile callbacks 2025-01-18 01:21:45 -05:00
SonicSwordcane 5ce39fb70e Implement writing memory 2025-01-18 01:03:22 -05:00
SonicSwordcane 0fff4d427f Implement writing registers 2025-01-18 00:20:57 -05:00
SonicSwordcane 17d3811124 No debugging unless the game is running 2025-01-17 22:00:46 -05:00
SonicSwordcane f031bb17b2 Use logging 2025-01-14 23:33:30 -05:00
SonicSwordcane 102aff1580 Turn LTO on when cutting releases 2025-01-14 22:25:27 -05:00
SonicSwordcane f1c5571aa6 Tell LLDB to use big watch regions 2025-01-14 21:38:44 -05:00
SonicSwordcane af9a4ae8ee Support watchpoints 2025-01-13 00:30:47 -05:00
SonicSwordcane fd7298d24e Add a checkbox to quit on disconnect 2025-01-09 23:00:46 -05:00
SonicSwordcane d99344eb15 Merge branch 'main' into debugger 2025-01-09 22:50:27 -05:00
SonicSwordcane fda738fb93 Fix some debug protocol issues 2025-01-05 15:03:59 -05:00
SonicSwordcane 2cf99dbc21 Fix wrapping memory reads for 64-bit addresses 2025-01-05 13:54:53 -05:00
SonicSwordcane 84f2cf7ece Implement stepping 2025-01-05 13:44:59 -05:00
SonicSwordcane 6fd8d8f5cf Improve flow of command-line debugging 2025-01-05 11:24:59 -05:00
SonicSwordcane d6eb8ec7ef Implement execute breakpoints 2025-01-05 00:47:58 -05:00
SonicSwordcane 856ee00999 Fix bugs around debugging lifecycle 2025-01-04 12:17:56 -05:00
SonicSwordcane 11df670ff4 Let emulator tell debugger to stop 2025-01-04 01:04:21 -05:00
SonicSwordcane a5b5f8e80f Use explicit states for sims 2025-01-02 23:06:33 -05:00
SonicSwordcane be8cdd958a Implement reading from real memory 2025-01-02 01:10:19 -05:00
SonicSwordcane 82c3104ab9 Read actual register values 2025-01-01 21:48:33 -05:00
SonicSwordcane 8707a5196b Return register info 2025-01-01 21:04:45 -05:00
SonicSwordcane d016538408 Stub out reading registers and memory 2025-01-01 18:15:41 -05:00
SonicSwordcane 9519897711 Separate GDB request and response into structs 2025-01-01 17:02:14 -05:00
SonicSwordcane 24487b21b7 Support pausing and resuming 2025-01-01 14:56:54 -05:00
SonicSwordcane 2c5084d317 CLI argument to start the server at startup 2025-01-01 13:13:01 -05:00
SonicSwordcane b94ae4d586 Add support for moar commands 2024-12-31 00:08:45 -05:00
SonicSwordcane 014b9ebbfa Handle the kill packet 2024-12-30 23:44:06 -05:00
SonicSwordcane 0a5e223ba7 Handle one message 2024-12-30 23:38:28 -05:00
SonicSwordcane 47a05968fb Create tcp server 2024-12-30 21:55:30 -05:00