From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10386 invoked by alias); 19 Jun 2012 07:59:27 -0000 Received: (qmail 10375 invoked by uid 22791); 19 Jun 2012 07:59:25 -0000 X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vc0-f169.google.com (HELO mail-vc0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Jun 2012 07:59:12 +0000 Received: by vcbfl10 with SMTP id fl10so3912724vcb.0 for ; Tue, 19 Jun 2012 00:59:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-system-of-record :x-gm-message-state; bh=Yg25xTxctbWXOEujQKVSjeZIsS719b5rEeRWUkay1XA=; b=RInZyVm2y7m5ypXsMRDWhamA/7h4GSo0dqs8CbD7mVZJy1+pfmLOPbeF1OxQzEcO4n qxv4kJD3qUt720S/ngrPlNrrhi+oUWJ3iOA3qxGx2rc4J8C9mwz/2vff3Gqhw+/xQtcR VVx5xAziG8cl7JUfdcuzLMQCG+73TNdq9v4IWvJpT05lwZuL6eRravxGaEqd7DtPyNXO aWxg+aeM0SbS5ppmeGbEjvVhWrDOWouTLm5rCcGIaqRIWgWFaLiAQvudf7qmSPPZdX1o B2x6NsQUuxpYSz8aYJx5WSxs3Yqk2ByjOCMt9F1huOj5oZjU2iXIxAnF19nVaAIVYUcq sRIg== Received: by 10.220.214.8 with SMTP id gy8mr8484452vcb.45.1340092751053; Tue, 19 Jun 2012 00:59:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.214.8 with SMTP id gy8mr8484442vcb.45.1340092750858; Tue, 19 Jun 2012 00:59:10 -0700 (PDT) Received: by 10.52.161.199 with HTTP; Tue, 19 Jun 2012 00:59:10 -0700 (PDT) In-Reply-To: <20120616213126.GA12840@host2.jankratochvil.net> References: <20120616195417.GA6368@host2.jankratochvil.net> <83txybdnue.fsf@gnu.org> <20120616201312.GA7000@host2.jankratochvil.net> <83sjdvdkns.fsf@gnu.org> <20120616213126.GA12840@host2.jankratochvil.net> Date: Tue, 19 Jun 2012 07:59:00 -0000 Message-ID: Subject: Re: [patch] -iex and -ix: Execute them _after_ gdbinits From: Doug Evans To: Jan Kratochvil Cc: Eli Zaretskii , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-Gm-Message-State: ALoCoQnX+U/JPLkeo4GanOJ1vthx7SHQa+MB36gQhsSZcdKaxLQRJZjJtfrzjlQMl4h9ni0dyOhciiiiqus4Nx96hSxlxTGpw0y4aMUP8EbEJzOFZSj5xFl0cE4fk4/ErksL8+nXMbqEihKpVuCVZgN+M7AuixgAvA== X-IsSubscribed: yes 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 X-SW-Source: 2012-06/txt/msg00608.txt.bz2 On Sat, Jun 16, 2012 at 2:31 PM, Jan Kratochvil wrote: > On Sat, 16 Jun 2012 23:14:15 +0200, Eli Zaretskii wrote: >> My concern is about what happens before ~/.gdbinit is loaded, so >> nothing that happens after that can resolve that. > > I do not understand which command would you want to run before ~/.gdbinit. > Real world ~/.gdbinit should only change settings or define new commands. > > >> > I have not found a use case where the current behavior is better. >> >> It doesn't have to be better. =A0It has the advantage of being there >> first. =A0It's the new behavior that must have a significant advantage >> to justify an incompatible change of behavior. > > The idea is that this is not a "change" as 7.4 did not have -iex at all. > -iex/-ix is a new feature for 7.5 so I am trying to make it right before = it > becomes a standard. I'm not sure I have an opinion on the order of -iex vs ~/.gdbinit (etc.). I do believe, however, that we need to have the freedom to change features introduced after the previous release and before the next if we have reason to believe we got it wrong. [IOW, the fact that we're changing behaviour here is less important to deciding what behaviour we want.]