Revert "2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>"
authorMuhammad Bilal <mbilal@codesourcery.com>
Wed, 6 Nov 2013 14:43:45 +0000 (19:43 +0500)
committerMuhammad Bilal <mbilal@codesourcery.com>
Wed, 6 Nov 2013 14:43:45 +0000 (19:43 +0500)
This reverts commit dd99d3d15a7d8f41e139dea7871c4fe44cd4b616.

gdb/ChangeLog
gdb/top.c

index e387685..e721f02 100644 (file)
@@ -1,10 +1,5 @@
 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.
index d7409d9..7d928e1 100644 (file)
--- 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 = 1;
+  write_history_p = 0;
 
   /* Setup important stuff for command line editing.  */
   rl_completion_word_break_hook = gdb_completion_word_break_characters;