Ctrl+C is useful for a variety of things in GDB; but it also exits the server. Should figure out a way to make it ignore that.