From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25640 invoked by alias); 22 May 2013 17:49:33 -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 25627 invoked by uid 89); 22 May 2013 17:49:32 -0000 X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 22 May 2013 17:49:31 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MN700J00O024L00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Wed, 22 May 2013 20:49:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MN700IAEO67WR60@a-mtaout22.012.net.il>; Wed, 22 May 2013 20:49:19 +0300 (IDT) Date: Wed, 22 May 2013 17:49:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 5/7] PR gdb/15224 , Change the default set history filename to ~/.gdb_history. In-reply-to: <519CFF3D.4080001@redhat.com> To: Pedro Alves Cc: mbilal@codesourcery.com, gdb-patches@sourceware.org, jan.kratochvil@redhat.com Reply-to: Eli Zaretskii Message-id: <83bo82ucpv.fsf@gnu.org> References: <51877A32.1030503@codesourcery.com> <51877A99.4060503@codesourcery.com> <51877B42.7@codesourcery.com> <51877BC6.6080007@codesourcery.com> <51877C76.2000509@codesourcery.com> <518A0BA8.9000703@codesourcery.com> <51936CAF.2090508@codesourcery.com> <51937A87.2030403@codesourcery.com> <83ehd85q79.fsf@gnu.org> <519CFF3D.4080001@redhat.com> X-SW-Source: 2013-05/txt/msg00851.txt.bz2 > Date: Wed, 22 May 2013 18:24:13 +0100 > From: Pedro Alves > CC: mbilal , gdb-patches@sourceware.org, > jan.kratochvil@redhat.com > > At startup time, if "set history filename" hasn't been > used (tracked with a new global flag), then check whether there's > a $cwd/.gdb_history file, and if so, output a warning stating that > it's no longer read by default. The warning could also > suggest adding "set history filename .gdb_history" to .gdbinit > to get back the old behavior. That's even more annoying, IMO. I think gratuitous backward incompatibility is evil, especially in programs, like GDB, where there are no good facilities for version-specific scripting. We are breaking scripts out there for no good reason, and we aren't giving the users of those scripts _any_ means to get their previous behavior cleanly. But I know I'm somehow in the minority here. It's probably the age or something.