This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 5/5] [PR gdb/15224] Enable "set history save on" by default
- From: Muhammad Bilal <mbilal at codesourcery dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: Pedro Alves <palves at redhat dot com>, <jan dot kratochvil at redhat dot com>
- Date: Thu, 8 Aug 2013 10:21:14 +0500
- Subject: [PATCH 5/5] [PR gdb/15224] Enable "set history save on" by default
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