A gdbserver stub implementation in C++