I have a simulator for a custom ["toy"] CPU running on Linux, to which I want to add at least basic debugging support (e.g. stepping instructions, reading/writing registers and memory), then driving this from lldb over a local TCP socket.
I could implement this as a custom socket server handling the GDB Remote Serial Protocol, like GDB server stubs that I've seen. But probably there's already a suitable interface and library in LLDB for this, e.g. providing the RSP parsing and basic state maintennce with callbacks/virtuals for the target-specific actions? Thanks for any guidance (and apologies that I'm probably using terminology like "server" incorrectly and so overlooking the existing documentation) /Tyro
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev