From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gdb --args does not work in emacs/src ... Date: Mon, 11 Feb 2008 11:53:07 -0500 Message-ID: References: <200802110632.m1B6WGrG017818@sallyv1.ics.uci.edu> <18351.65436.105859.262490@kahikatea.snap.net.nz> <200802111521.m1BFLcuE015301@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202748818 27949 80.91.229.12 (11 Feb 2008 16:53:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 16:53:38 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 17:54:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JObuf-0006bQ-HI for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 17:53:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JObuC-0003yn-5O for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 11:53:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JObu6-0003xH-JR for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:53:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JObu2-0003ud-6R for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:53:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JObu1-0003uN-R6 for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:53:09 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JObu1-0005ZS-F6 for emacs-devel@gnu.org; Mon, 11 Feb 2008 11:53:09 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAFEMsEdMCpK7/2dsb2JhbACodXs X-IronPort-AV: E=Sophos;i="4.25,334,1199682000"; d="scan'208";a="14033440" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 11 Feb 2008 11:53:09 -0500 Original-Received: from pastel.home ([76.10.146.187]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id RSM71008; Mon, 11 Feb 2008 11:53:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id EB7DA7F05; Mon, 11 Feb 2008 11:53:07 -0500 (EST) In-Reply-To: <200802111521.m1BFLcuE015301@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 11 Feb 2008 07:21:38 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88767 Archived-At: >> > ... because .gdbinit overwrites args: >> > >> > set args -geometry 80x40+0+0 >> > >> > this is annoying when one wants to start the debugger with specific >> > arguments on the command line. >> >> I guess it guarantees that everyone is debugging Emacs under more similar >> conditions. You can always comment that line out in your version. > Sure I've been doing that for a long time, but it would be even better > if I didn't have to do it. > Is it possible to append to args? > Or maybe only set it if it's not already set? I always specify the args directly to the "run" command, so the "set args" is only problematic when I want to run Emacs without any argument which is rare when debugging. Stefan