[PATCH 6/7] PR gdb/15224 should "set history save on" by default

mbilal
2013-05-06T09:49:58Z

On Wednesday, April 03, 2013 7:30 PM Jan Kratochvil wrote:

> (7) Enable "set history save on" by default as you already did in
your patch.

Patch is here.

Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.235
diff -u -p -r1.235 top.c
--- top.c 17 Apr 2013 01:02:02 -0000 1.235
+++ top.c 6 May 2013 07:58:47 -0000
@@ -1715,7 +1715,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