update build_gdb.sh