unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs gdb program launcher
@ 2009-03-18 16:48 Vincent Liard
  2009-03-19  6:05 ` Nick Roberts
       [not found] ` <mailman.3547.1237442762.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Vincent Liard @ 2009-03-18 16:48 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-20  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).