From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.help Subject: Re: emacs gdb program launcher Date: Fri, 20 Mar 2009 19:18:09 +1300 Message-ID: <18883.13601.782069.591974@snap.net.nz> References: 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 1237533721 31556 80.91.229.12 (20 Mar 2009 07:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 07:22:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Vincent Liard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 08:23:18 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkZ4S-0002M9-0i for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 08:23:12 +0100 Original-Received: from localhost ([127.0.0.1]:59737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkZ35-0000EP-G1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 03:21:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkZ2m-0000EK-Ib for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:21:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkZ2g-0000Dw-Ry for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:21:26 -0400 Original-Received: from [199.232.76.173] (port=45859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkZ2g-0000Dt-MS for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:21:22 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:19888) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkZ2g-00058y-6F for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:21:22 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.23]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkZ2c-0005xU-PU for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:21:19 -0400 Original-Received: from totara (unknown [123.255.28.192]) by viper.snap.net.nz (Postfix) with ESMTP id 486A33DA25F; Fri, 20 Mar 2009 19:18:12 +1300 (NZDT) Original-Received: by totara (Postfix, from userid 1000) id D1634C080; Fri, 20 Mar 2009 19:18:09 +1300 (NZDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63116 Archived-At: > My god... Of course you're right ! For some reason, it's not yet working > through the script, but "set annotate 3" issued on the GDB command line > does the job perfectly. Yes, that will generally work but things probably won't initialise properly, e.g, you won't be able to click in the margin to set breakpoints in buffers for source files that Emacs is already visiting. If the script is bash, for example, then you would probably need to replace something like: exec gdb $@ with: exec gdb --annotate=3 $@ for proper initialisation. -- Nick http://www.inet.net.nz/~nickrob