aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e721f02..e387685 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>
+ PR cli/15224
+ * top.c (init_main): 'set history save on' by default.
+
+2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>
+
PR cli/16122
* top.c (command_line_input): Unify interactivity tests to use
input_from_terminal_p.
diff --git a/gdb/top.c b/gdb/top.c
index 7d928e1..d7409d9 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;