From dd99d3d15a7d8f41e139dea7871c4fe44cd4b616 Mon Sep 17 00:00:00 2001 From: Muhammad Bilal Date: Wed, 6 Nov 2013 18:53:50 +0500 Subject: [PATCH] 2013-11-06 Muhammad Bilal PR cli/15224 * top.c (init_main): 'set history save on' by default. --- gdb/ChangeLog | 5 +++++ gdb/top.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e721f029d99..e387685cadb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-11-06 Muhammad Bilal + + PR cli/15224 + * top.c (init_main): 'set history save on' by default. + 2013-11-06 Muhammad Bilal PR cli/16122 diff --git a/gdb/top.c b/gdb/top.c index 7d928e13be2..d7409d9baae 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1708,7 +1708,7 @@ init_main (void) /* Set the important stuff up for command editing. */ command_editing_p = 1; history_expansion_p = 0; - write_history_p = 0; + write_history_p = 1; /* Setup important stuff for command line editing. */ rl_completion_word_break_hook = gdb_completion_word_break_characters; -- 2.30.2