2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>

PR cli/15224
	* top.c (init_main): 'set history save on' by default.
This commit is contained in:
Muhammad Bilal 2013-11-06 18:53:50 +05:00
parent afa332ce95
commit dd99d3d15a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;