From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15761 invoked by alias); 25 Mar 2014 01:02:13 -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 15743 invoked by uid 89); 25 Mar 2014 01:02:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f175.google.com Received: from mail-vc0-f175.google.com (HELO mail-vc0-f175.google.com) (209.85.220.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 25 Mar 2014 01:02:09 +0000 Received: by mail-vc0-f175.google.com with SMTP id lh14so6674338vcb.6 for ; Mon, 24 Mar 2014 18:02:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZTIDQ62mKUov2rpTjjJITUNX0ToH1qq8mJnspQNeKcw=; b=KTaoS8pOh4FF9iL1vDGfPhD2sGhQv+b81Vw+uBZCkcq8+jIaROYOtFUg+atzonYg7i 012GPRTAOlN+Cdur32l0D69gQ75gUwAmNf93El6PzEZ2LgGUYMjaf6M4MEmEM9+4mrAD ey5LK9mvoidmuRhy8Q4HKYfRJelfP1XSLz2JLnb2fqaiipovkeIjfs3vqK+w1s2+blKh c7j2yl9j09zJJ1Cd/KONujS616mxVAlIcXZav3ooLJ8y66aELidMJuWt8+cW+ZYc/fwx fP44HdWrTptKnFYVCl+tBgLFv0hTObMe12r0bhvtsxhcfrZJvgb0fX9RRlXGTUwEwkhf /vfQ== X-Gm-Message-State: ALoCoQlJCZa+/z4Ia4Ux1giN0/InhFusOeDf4W5LbZ4hjG/3KrVNQFGO4BI0SF42V++ZpBT1MtWPU1B4hMak9mTgyOkvzvBN+pfIpe0quJ89OAdeUweW5Yl0evg9q94FsOzU55xneVhhOfqs95fESYapqkTJObi7r1FqqToDNRYu6pqcq9Yl3mz2zF1q5bVqek7WqHSpo0eWq1XK0kIUX5lMqqpNBzN/Vw== MIME-Version: 1.0 X-Received: by 10.52.175.166 with SMTP id cb6mr44444724vdc.1.1395709326992; Mon, 24 Mar 2014 18:02:06 -0700 (PDT) Received: by 10.52.13.101 with HTTP; Mon, 24 Mar 2014 18:02:06 -0700 (PDT) In-Reply-To: References: <21272.60289.723000.990365@ruffy.mtv.corp.google.com> <834n3aqyaa.fsf@gnu.org> <83y50lq2b8.fsf@gnu.org> Date: Tue, 25 Mar 2014 01:02:00 -0000 Message-ID: Subject: Re: [PATCH, doc RFA] New option -B: simplify running gdb from build directory From: Doug Evans To: Eli Zaretskii Cc: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00586.txt.bz2 On Fri, Mar 7, 2014 at 10:54 AM, Doug Evans wrote: > On Fri, Mar 7, 2014 at 10:41 AM, Eli Zaretskii wrote: >>> Date: Fri, 7 Mar 2014 09:37:28 -0800 >>> From: Doug Evans >>> Cc: gdb-patches >>> >>> On Thu, Mar 6, 2014 at 11:10 PM, Eli Zaretskii wrote: >>> >>> > > From: Doug Evans >>> > > Date: Thu, 6 Mar 2014 13:41:21 -0800 >>> > > >>> > > I believe I've addressed Eli's comments, >>> > > [ref: https://sourceware.org/ml/gdb-patches/2013-12/msg00969.html] >>> > >>> > No, I don't think you have. >>> >>> That's not much to go on. :-) >> >> "Address the comments" in my book means to make changes to accommodate >> those comments. In contrast, what you did was express your >> disagreement with my comments. That doesn't seem to fit the bill. > > Ah. Definition mismatch.. > I'll try to remember to phrase "Address the comments" differently next time. > Thanks. Hi. I'm not sure where this patch stands. I have OK for the documentation parts and I am a Global Maintainer. I just want to stop having to type --data-directory all the time when I run gdb under gdb in emacs (without doing hacks like having a special emacs command just for debugging gdb). It's unlikely ISTM the community is going to agree on a heuristic for determining whether gdb is being run from the build directory any time soon, so let's just let it go for now. Typing "./gdb -B" is fine by me. I can think of alternatives (eg., name the binary in the build directory as xgdb and have gdb check argv[0]) but I prefer -B.