Save GDB command history.