From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: gdb --args does not work in emacs/src ... Date: Mon, 11 Feb 2008 09:59:44 -0700 Message-ID: References: <200802110632.m1B6WGrG017818@sallyv1.ics.uci.edu> <18351.65436.105859.262490@kahikatea.snap.net.nz> <200802111521.m1BFLcuE015301@sallyv1.ics.uci.edu> <200802111709.m1BH9mrX004400@sallyv1.ics.uci.edu> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202751926 8573 80.91.229.12 (11 Feb 2008 17:45:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 17:45:26 +0000 (UTC) Cc: Nick Roberts , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 18:45:45 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 1JOcil-00046i-S5 for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 18:45:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOciI-0007Ag-Kg for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 12:45:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOcgf-0006BH-UI for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:43:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOcge-00069F-Dg for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:43:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOcge-00068t-2W for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:43:24 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOcgd-00059c-Ro for emacs-devel@gnu.org; Mon, 11 Feb 2008 12:43:24 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m1BHhEXw030075; Mon, 11 Feb 2008 12:43:14 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1BHhEOH013987; Mon, 11 Feb 2008 12:43:14 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1BHhDBX014979; Mon, 11 Feb 2008 12:43:13 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 7386450827A; Mon, 11 Feb 2008 09:59:44 -0700 (MST) X-Attribution: Tom In-Reply-To: <200802111709.m1BH9mrX004400@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Mon\, 11 Feb 2008 09\:09\:46 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:88774 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> Not so rare when you use gdb --args, which is all the time for me nowadays. Dan> It's very convenient to just prepend gdb --args to the command you want Dan> to debug (which is probably already available in the shell command Dan> history) and not have to worry about passing arguments to "run"... FWIW I also ended up commenting out this line, so --args would work properly. Of course that's a lot safer when you don't have write access :-) Tom