From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Liard Newsgroups: gmane.emacs.help Subject: Re: emacs gdb program launcher Date: Fri, 20 Mar 2009 08:09:09 +0000 (UTC) Organization: INRIA - CR Paris-Rocquencourt Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1237538516 11824 80.91.229.12 (20 Mar 2009 08:41:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 08:41:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 09:43:13 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 1LkaJo-0007vG-R1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 09:43:08 +0100 Original-Received: from localhost ([127.0.0.1]:33365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkaIS-0002Ov-Cf for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 04:41:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.ecp.fr!news-rocq.inria.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: eccica.inria.fr Original-X-Trace: news-rocq.inria.fr 1237536549 18523 128.93.1.81 (20 Mar 2009 08:09:09 GMT) Original-X-Complaints-To: newsmaster@inria.fr User-Agent: Pan/0.132 (Waxed in Black) Original-Xref: news.stanford.edu gnu.emacs.help:167827 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:63120 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. That's what I did lately and it does work! (Actually, it would have worked yesterday if I had not set my --annotate=3 in the wrong place of a conditional.) Many thanks for your concern! Vincent