This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to recall the commands run in previous gdb session?
> Date: Sun, 29 Oct 2006 15:49:34 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
>
> Someone else asked me about this last week. I've been thinking about
> adjusting it to use ~/.gdb_history instead of ./.gdb_history by default
> and then enabling it by default. After all, everyone seems to assume
> their shell will save CLI history, why shouldn't we?
I agree with turning history saving on by default, but why change the
location of .gdb_history? That'd be an incompatible change, and I
don't see the justification for such a change. Do you?