From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9134 invoked by alias); 6 Nov 2013 10:29:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 9124 invoked by uid 89); 6 Nov 2013 10:29:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Nov 2013 10:28:41 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Ve0La-0007lS-FR from Muhammad_Bilal@mentor.com ; Wed, 06 Nov 2013 02:28:26 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 6 Nov 2013 02:28:26 -0800 Received: from pkl-mbilal-ubuntu.mgc.mentorg.com (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 6 Nov 2013 10:28:25 +0000 From: Muhammad Bilal To: CC: , Muhammad Bilal Subject: [PATCH] [PR gdb/15224] Enable "set history save on" by default Date: Wed, 06 Nov 2013 12:12:00 -0000 Message-ID: <1383733692-8823-1-git-send-email-mbilal@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00113.txt.bz2 Hi Pedro, This patch enable the 'set history save on' by default. This patch is independent of 'Change the default set history filename to ~/.gdb_history'. so I think we should go forward. OK? 2013-11-06 Muhammad Bilal PR cli/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 7d928e1..d7409d9 100644 --- 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 = 0; + write_history_p = 1; /* Setup important stuff for command line editing. */ rl_completion_word_break_hook = gdb_completion_word_break_characters; -- 1.7.9.5