* lib/gdb.exp(default_gdb_exit): Add a catch to the