Quote Originally Posted by {MSX}

Now, interfacing gdb can be done in two way: using the libgdb API or running
OTOH libgdb is technically superior, and there already is an example and interface, the (textmode) FPC ide in fpc/ide and the libgdbinterface in fpc/packages/base/gdbint