From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23897 invoked by alias); 7 Mar 2014 07:10:47 -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 23888 invoked by uid 89); 7 Mar 2014 07:10:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Mar 2014 07:10:45 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N2200F000XW8S00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 07 Mar 2014 09:10:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N2200FS519T9N00@a-mtaout20.012.net.il>; Fri, 07 Mar 2014 09:10:41 +0200 (IST) Date: Fri, 07 Mar 2014 07:10:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH, doc RFA] New option -B: simplify running gdb from build directory In-reply-to: <21272.60289.723000.990365@ruffy.mtv.corp.google.com> To: Doug Evans Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834n3aqyaa.fsf@gnu.org> References: <21272.60289.723000.990365@ruffy.mtv.corp.google.com> X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00174.txt.bz2 > 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. > 2014-03-06 Doug Evans > > New option -B. > * NEWS: Mention it. > * main.c (maybe_run_from_builddir): New static global. > (get_build_data_directory): New function. > (captured_main): New enum value OPT_BATCH_SILENT. Use it instead of > 'B' for --batch-silent. Recognize and handle -B option. > > doc/ > * gdb.texinfo (Mode Options): Document -B. > > testsuite/ > * gdb.base/dash-b.exp: New file. OK for the documentation parts. Thanks.