Has anyone encountered a standalone gdb server? That is gdb server that runs on a bare metal.
I've been looking for sources to build one. Doesn't need to be ARM, but that might help.
Maybe someone has come across a document explaining how gdb server really works?
(It might help in reading the 'standard' gdb server code.)
I understand that 'stub' means "gdb server" linked into the executable, but I'd like to have a server with which I could upload programs onto the board for debugging through the network or serial IF.
My main concern is attaching to the program to be debugged, when there is no OS (and no processes).
Liviu Ionescu replied to my query on the OpenOCD mailing list ... I asked for a lightweight GDB remote server.
"RedBoot also includes a GDB server, accessible via Ethernet and serial, but I don't know if it qualifies as 'Lightweight'."
I think that RedBoot might sound interesting ?