How to recall the commands run in previous gdb session?

Eli Zaretskii eliz@gnu.org
Mon Oct 30 04:08:00 GMT 2006


> 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?



More information about the Gdb mailing list