From: Vincent Liard <vincent.liard@scilab.org>
To: help-gnu-emacs@gnu.org
Subject: emacs gdb program launcher
Date: Wed, 18 Mar 2009 16:48:45 +0000 (UTC) [thread overview]
Message-ID: <gpr8ld$i2r$1@news-rocq.inria.fr> (raw)
Hi,
I'm working on a program that has to be launched from a script which sets
up the execution environment. Fortunately enough, the script provides an
option to start it with GDB and it works ok.
However, I would like to run this program with GDB from within emacs, as
can usually be done. Thus, I start GDB with « M-x gdb » but replace the
command with the program's launcher.
And it works, but rather than opening the source code with emacs buffers,
it merely prints lines to be executed in the *gud* buffer as it would do
with GDB from command line.
I (guess I) undestand GDB is unaware it has been launched from within
emacs but I don't see how to make it interact properly... I've messed a
bit with gdb-show-main which was set no NIL but it doesn't seem to change
anything. Could anyone give me a clue ?
Thanks in advance,
Vincent
next reply other threads:[~2009-03-18 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 16:48 Vincent Liard [this message]
2009-03-19 6:05 ` emacs gdb program launcher 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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gpr8ld$i2r$1@news-rocq.inria.fr' \
--to=vincent.liard@scilab.org \
--cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).