Add GDB support (taken from Groundworkstech/dynamips-gdb-mod)

Ported the changes from the https://github.com/Groundworkstech/dynamips-gdb-mod to the latest version of dynamips, that add gdb support to dynamips.