all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: How to have a separate I/O window (xterm) with GDB and Emacs?
Date: 07 Jul 2004 19:04:24 +0200	[thread overview]
Message-ID: <x54qojlpev.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.113.1089219563.22971.help-gnu-emacs@gnu.org

Joachim Nilsson <joachim.nilsson@vmlinux.org> writes:

> I'm running the latest bleeding edge GNU Emacs from CVS.  I'm
> no beginner so I'm not shy for bisarre elisp or C hacks to
> solve my current problem.  I'm posting here because I'm really
> stuck.
> 
> So, if someone could please tell me how I can have a separate
> "execution window" a la DDD when using GDB in Emacs I would be
> eternally grateful.
> 
> It should be possible somehow by spawning say an xterm and
> redirect all program I/O using "gdb -tty=device" ...

You know that gdb can easily attach to running processes with the
`attach' command?  Or by specifying the process id as a second
command line argument to gdb?

So you can easily start your program in an xterm and hook Emacs gdb
session into it.

Heck, you can even start your program inside of Emacs with
M-x term
and do that.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

       reply	other threads:[~2004-07-07 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.113.1089219563.22971.help-gnu-emacs@gnu.org>
2004-07-07 17:04 ` David Kastrup [this message]
2004-07-07 17:24   ` How to have a separate I/O window (xterm) with GDB and Emacs? Joachim Nilsson
2004-07-08  6:45 ` Matthieu Moy
2004-07-07 16:56 Joachim Nilsson

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=x54qojlpev.fsf@lola.goethe.zz \
    --to=dak@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.
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.