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).
The good thing about the ARM Connected Community, is that "nothing is final". You can edit everything you've posted earlier - even delete posts.
Try having a look at this excellent post, in particular: "3. How can I change a discussion to a question?".
Thanks for the compliment but I had made an omission and that otherwise "excellent" document: the OP can only mark or unmark the discussion as a question within 15 minutes of its creation... However, cause I thought it's what you wanted, I have made the change for you... and I have updated the document!
I wonder why there's a 15 minute limit. It will take most people more than 15 minutes, before someone will notice and suggest a change.
-If you ask me, there should be no limit at all.
-But the document is great nevertheless; packed with information on the topic.