aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorMuhammad Bilal <mbilal@codesourcery.com>2013-11-06 18:53:50 +0500
committerMuhammad Bilal <mbilal@codesourcery.com>2013-11-06 18:53:50 +0500
commitdd99d3d15a7d8f41e139dea7871c4fe44cd4b616 (patch)
tree6b40da592d310822481bbcada45f34a6d6c41c04 /gdb/top.c
parentafa332ce951d4283519e4bca2fdf24a747c4261c (diff)
downloadgdb-dd99d3d15a7d8f41e139dea7871c4fe44cd4b616.zip
gdb-dd99d3d15a7d8f41e139dea7871c4fe44cd4b616.tar.gz
gdb-dd99d3d15a7d8f41e139dea7871c4fe44cd4b616.tar.bz2
2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>
PR cli/15224 * top.c (init_main): 'set history save on' by default.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
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;