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: How to have a separate I/O window (xterm) with GDB and Emacs? Date: Wed, 07 Jul 2004 18:56:35 +0200 Organization: vmlinux.org:~/> Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1089219394.21869.16.camel@isengard.vmlinux.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1089219481 27404 80.91.224.253 (7 Jul 2004 16:58:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jul 2004 16:58:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 07 18:57:46 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 1BiFjt-0002gx-00 for ; Wed, 07 Jul 2004 18:57:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BiFly-0000mo-0r for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jul 2004 12:59:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BiFlR-0000VX-Kn for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 12:59:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BiFlP-0000Sc-OB for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 12:59:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BiFlP-0000SV-Ke for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 12:59:19 -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 1BiFim-0002FC-Vr for help-gnu-emacs@gnu.org; Wed, 07 Jul 2004 12:56:37 -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 1BiFil-0002Qi-00 for ; Wed, 07 Jul 2004 18:56:35 +0200 Original-To: Help GNU Emacs 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:19504 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19504 Hi! 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" ... Why now would I want to do this and *not* use a native Emacs buffer like everyone else, am I nuts? No, I have an ncurses application that I cannot debug inside Emacs because the output is completely garbled and on top of that it does not respond to keyboard input either. I'd like to run the latest (very nice) GDB-UI in Emacs but I'm stuck with DDD and its separate execution window for now. Regards /Jocke -- Joachim Nilsson :: +46(0)21-123348 ::