From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15488 invoked by alias); 28 Feb 2012 16:25:36 -0000 Received: (qmail 15476 invoked by uid 22791); 28 Feb 2012 16:25:34 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Feb 2012 16:25:18 +0000 Received: by vbbey12 with SMTP id ey12so2003849vbb.0 for ; Tue, 28 Feb 2012 08:25:17 -0800 (PST) Received-SPF: pass (google.com: domain of dje@google.com designates 10.52.25.107 as permitted sender) client-ip=10.52.25.107; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dje@google.com designates 10.52.25.107 as permitted sender) smtp.mail=dje@google.com; dkim=pass header.i=dje@google.com Received: from mr.google.com ([10.52.25.107]) by 10.52.25.107 with SMTP id b11mr13905882vdg.37.1330446317442 (num_hops = 1); Tue, 28 Feb 2012 08:25:17 -0800 (PST) Received: by 10.52.25.107 with SMTP id b11mr11513627vdg.37.1330446317386; Tue, 28 Feb 2012 08:25:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.25.107 with SMTP id b11mr11513611vdg.37.1330446317311; Tue, 28 Feb 2012 08:25:17 -0800 (PST) Received: by 10.220.21.4 with HTTP; Tue, 28 Feb 2012 08:25:17 -0800 (PST) In-Reply-To: <834nuesy34.fsf@gnu.org> References: <20120225134940.GC15155@host2.jankratochvil.net> <834nuesy34.fsf@gnu.org> Date: Tue, 28 Feb 2012 16:28:00 -0000 Message-ID: Subject: Re: [patch 2/2] [+doc] New -iex and -ix: -ex and -x before inferior load From: Doug Evans To: Eli Zaretskii Cc: Jan Kratochvil , 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: ALoCoQn8mHUkAjJ6RfHnzdi1A3apWtvotQYh0Fqp3HF4gyF6AG234zXPlFAugV2skmJ4aSo9qth/95C9KtOXgocA40WRM1t7RjYBzcT40gBSDDbDjtqkyYfNE1JD45bHAjcmLoWQj44nNwb28aRUPdyKvmAeK0mn7g== 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-02/txt/msg00661.txt.bz2 On Sat, Feb 25, 2012 at 7:59 AM, Eli Zaretskii wrote: >> Date: Sat, 25 Feb 2012 14:49:40 +0100 >> From: Jan Kratochvil >> >> --- a/gdb/NEWS >> +++ b/gdb/NEWS >> @@ -78,6 +78,13 @@ show breakpoint condition-evaluation >> =A0 =A0condition evaluation mode. =A0The use of this extension can be co= ntrolled >> =A0 =A0via the "set remote conditional-breakpoints-packet" command. >> >> +* New command line options >> + >> +--init-command=3DFILE, -ix =A0 =A0 =A0 =A0 =A0Like --init-command, -x b= ut execute it > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0^^^^^^^^^^^^^^ > You meant "--command", I believe. > >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0bef= ore loading inferior. >> +--init-eval-command=3DCOMMAND, -iex Like --eval-command=3DCOMMAND, -ex = but >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0exe= cute it before loading inferior. > > Is it really a good idea to have 2- or 3-letter short options? =A0It > started with -nw and -nx, which might make sense, then we added -ex, > and now -ix and -iex? =A0If noting else, this will prevent us from ever > having -e and -i. I don't understand. We already have gdb -i=3Dmi2 (for example).