From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joachim Nilsson Newsgroups: gmane.emacs.help Subject: Re: How to have a separate I/O window (xterm) with GDB and Emacs? Date: Wed, 07 Jul 2004 19:24:56 +0200 Organization: vmlinux.org:~/> Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1089221096.21877.27.camel@isengard.vmlinux.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1089221166 499 80.91.224.253 (7 Jul 2004 17:26:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2004 17:26:06 +0000 (UTC) Cc: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 07 19:25:50 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BiGB3-0005Ht-00 for ; Wed, 07 Jul 2004 19:25:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BiGD8-0008Tc-6s for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jul 2004 13:27:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BiGCz-0008Sx-RV for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 13:27:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BiGCx-0008Rg-SJ for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 13:27:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BiGCx-0008Rd-LI for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 13:27:47 -0400 Original-Received: from [193.41.214.66] (helo=vmlinux.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BiGAj-0006wk-GF; Wed, 07 Jul 2004 13:25:29 -0400 Original-Received: from [213.214.225.58] (helo=crash.vmlinux.org ident=crash) by vmlinux.org with esmtp (Exim 3.35 #1 (Debian)) id 1BiGAD-0002jG-00; Wed, 07 Jul 2004 19:24:57 +0200 Original-To: David Kastrup In-Reply-To: X-Mailer: Ximian Evolution 1.4.6 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19507 On Wed, 2004-07-07 at 19:04, David Kastrup wrote: > Joachim Nilsson writes: > > 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? Ouch, why didn't I come to think of that? It's a very good interim solution for me, thank you David! Regards /Jocke