Added the mutilated gdb stub and some C++ ctro and dtor action, along with other stuff