This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]