all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nickrob@snap.net.nz (Nick Roberts)
To: Vincent Liard <vincent.liard@scilab.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs gdb program launcher
Date: Fri, 20 Mar 2009 19:18:09 +1300	[thread overview]
Message-ID: <18883.13601.782069.591974@snap.net.nz> (raw)
In-Reply-To: <gpt1r7$i2r$2@news-rocq.inria.fr>

 > 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




  reply	other threads:[~2009-03-20  6:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 16:48 emacs gdb program launcher Vincent Liard
2009-03-19  6:05 ` Nick Roberts
     [not found] ` <mailman.3547.1237442762.31690.help-gnu-emacs@gnu.org>
2009-03-19  9:04   ` Vincent Liard
2009-03-20  6:18     ` Nick Roberts [this message]
2009-03-20  7:36       ` Lucius Fox
     [not found]       ` <mailman.3616.1237534598.31690.help-gnu-emacs@gnu.org>
2009-03-20  8:21         ` Vincent Liard
     [not found]     ` <mailman.3615.1237533689.31690.help-gnu-emacs@gnu.org>
2009-03-20  8:09       ` Vincent Liard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18883.13601.782069.591974@snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=help-gnu-emacs@gnu.org \
    --cc=vincent.liard@scilab.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.