create the script of gdb