added the GDB stuff, still need some reset stuff