This patch enable the 'set history save on' by default.
2013-08-08 Muhammad Bilal <mbilal@codesourcery.com>
PR gdb/15224
* top.c (init_main): 'set history save on' by default.
gdb/top.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/top.c b/gdb/top.c
index 33a78da..b9b238a 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1729,7 +1729,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;
Thanks,
-Bilal