Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.37 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.37 KB

gdbserver-stub

This is an attempt to implement a GDB Remote Protocol stub and the LLDB Extension to better understand them. Therefore, it is not intended to be used in production at all.

I only hope this code can provide some guidance for those who are interested in implementing GDB support to their project.

You can follow the journey of this development in my series Implement GDB Remote Debug Protocol Stub From Scratch 1, 2, 3, 4, 5, 6

gdb-server-stub.js

Implements the stub

gdb-command-handler.js

The interface of the GDB command handler.

r3000.js

A fake CPU that also implements the GDBCommandHandler.