Sun Nov 5 08:16:19 EST 2017

Microcontroller Development

Previous approach: put a GDB stub on the target.  The advantage here
is that it works without any other infrastructure, when exposed as a
serial port.

However, the stub protocol is messy, and is really better implemented
elsewhere, with the "main tethering line" kept clean.

So, either find a way to embed a different packet protocol in the GDB
protocol (e.g. "monitor"), or move the stub code off the uC.