Added attach_gdb as a method in basechatter