From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: gdb --args does not work in emacs/src ... Date: Tue, 12 Feb 2008 08:51:45 +1300 Message-ID: <18352.42833.554345.573615@kahikatea.snap.net.nz> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202759579 5981 80.91.229.12 (11 Feb 2008 19:52:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 19:52:59 +0000 (UTC) Cc: 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 20:53:21 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 1JOehl-0002MY-Be for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 20:52:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOehI-0003Hj-4O for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2008 14:52:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOeh9-0003Es-PM for emacs-devel@gnu.org; Mon, 11 Feb 2008 14:52:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOeh7-0003C9-Dm for emacs-devel@gnu.org; Mon, 11 Feb 2008 14:52:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOeh7-0003Bq-5n for emacs-devel@gnu.org; Mon, 11 Feb 2008 14:52:01 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JOeh6-0001x0-G1 for emacs-devel@gnu.org; Mon, 11 Feb 2008 14:52:00 -0500 Original-Received: from kahikatea.snap.net.nz (110.30.255.123.static.snap.net.nz [123.255.30.110]) by viper.snap.net.nz (Postfix) with ESMTP id F103C3DA2A0; Tue, 12 Feb 2008 08:51:47 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 9CF0E8FC6D; Tue, 12 Feb 2008 08:51:46 +1300 (NZDT) In-Reply-To: <200802111709.m1BH9mrX004400@sallyv1.ics.uci.edu> X-Mailer: VM 7.19 under Emacs 22.1.90.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:88783 Archived-At: > Not so rare when you use gdb --args, which is all the time for me nowadays. > It's very convenient to just prepend gdb --args to the command you want > to debug (which is probably already available in the shell command > history) You only need to start gdb once as it will re-read the symbols if you edit and recompile Emacs. > and not have to worry about passing arguments to "run"... That way the you only need to pass arguments to run once just as you would on the command line with gdb --args and you keep the gdb history. OTOH , it doesn't bother me if you want to delete the set args line from .gdbinit in the repository. -- Nick http://www.inet.net.nz/~nickrob