Save gdb history