From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: `gud-common-init' Date: Wed, 15 Dec 2004 22:48:10 +0200 Message-ID: <200412152248.10658.pogonyshev@gmx.net> References: <200412150501.18409.pogonyshev@gmx.net> <200412151737.58467.pogonyshev@gmx.net> <16832.40575.95536.125888@farnswood.snap.net.nz> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1103143381 20986 80.91.229.6 (15 Dec 2004 20:43:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2004 20:43:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 15 21:42:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cefz3-0001N4-00 for ; Wed, 15 Dec 2004 21:42:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ceg9G-0002gG-7T for ged-emacs-devel@m.gmane.org; Wed, 15 Dec 2004 15:53:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ceg98-0002ez-K6 for emacs-devel@gnu.org; Wed, 15 Dec 2004 15:53:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ceg97-0002e9-22 for emacs-devel@gnu.org; Wed, 15 Dec 2004 15:53:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ceg96-0002dx-Vs for emacs-devel@gnu.org; Wed, 15 Dec 2004 15:53:17 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1CefyO-0001kY-B8 for emacs-devel@gnu.org; Wed, 15 Dec 2004 15:42:12 -0500 Original-Received: (qmail invoked by alias); 15 Dec 2004 20:42:09 -0000 Original-Received: from unknown (EHLO localhost.localdomain) (195.50.12.116) by mail.gmx.net (mp007) with SMTP; 15 Dec 2004 21:42:09 +0100 X-Authenticated: #16844820 Original-To: Nick Roberts User-Agent: KMail/1.4.3 In-Reply-To: <16832.40575.95536.125888@farnswood.snap.net.nz> X-Y-GMX-Trusted: 0 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: main.gmane.org gmane.emacs.devel:31177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31177 Nick Roberts wrote: > > Actually I tried to debug `etags' with command line > > > > =09etags --language none --regex '/^Pattern[ \t]+[a-zA-Z0-9]+/' ... > > > > I agree it's not something you need every day, but it came out as a = big > > surprise for me when I saw how this command line was passed to `etag= s'. > > M-x gdb > > Run gdb (like this): gdb etags > > (gdb) r --language none --regex '/^Pattern[ \t]+[a-zA-Z0-9]+/' ... > > Does this work for you? Wow, I managed to use GDB for all this time without knowing this... Thanks for the hint. The only inconvenience is that it is more difficult to restart debugging session with the very same arguments after you quit GDB, but I agree it's way to minor a problem to bother. Paul