From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ncohen@ucsd.edu Newsgroups: gmane.emacs.help Subject: Setting gdb to use eshell buffer Date: Fri, 21 Nov 2003 16:24:08 -0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40099.3732655936$1069461011@news.gmane.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069461011 15389 80.91.224.253 (22 Nov 2003 00:30:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2003 00:30:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 22 01:30:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANLf7-00075g-00 for ; Sat, 22 Nov 2003 01:30:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ANMal-0002HL-9i for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Nov 2003 20:29:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ANMYN-0001EC-BO for help-gnu-emacs@gnu.org; Fri, 21 Nov 2003 20:27:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ANMWn-0000kO-Ru for help-gnu-emacs@gnu.org; Fri, 21 Nov 2003 20:26:09 -0500 Original-Received: from [132.239.50.9] (helo=ieng9.ucsd.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ANMWm-0000jQ-Bs for help-gnu-emacs@gnu.org; Fri, 21 Nov 2003 20:25:36 -0500 Original-Received: from ncohen.resnet.ucsd.edu (dyn128-54-149-75.ucsd.edu [128.54.149.75]) by ieng9.ucsd.edu (Postfix) with ESMTP id EBE4AC834 for ; Fri, 21 Nov 2003 16:24:10 -0800 (PST) Original-To: help-gnu-emacs@gnu.org User-Agent: KMail/1.5.4 Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:14500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14500 Hi I'm using tramp to successfully transparently edit remote files however I also want to compile and debug them from inside emacs. How do I do this? I'm wondering if there is a way to 'point' the emacs gdb process to a shell that is currently running as a process 'inside'(?) emacs. Then I could use eshell to connect to a remote machine, and then issue either a gdb command in eshell and somehow have emacs-gdb take control of the buffer, or issue a gdb command in emacs and have it issue the command to the eshell (so the remote gdb will start). Thanks, Ben