From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: filtering output from compile Date: Sun, 29 Dec 2002 17:57:48 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84bs34pxtf.fsf@lucy.cs.uni-dortmund.de> References: <84bs35xdlw.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1041181391 14559 80.91.224.249 (29 Dec 2002 17:03:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2002 17:03:11 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18SgqD-0003ma-00 for ; Sun, 29 Dec 2002 18:03:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Sgod-00030P-02 for gnu-help-gnu-emacs@m.gmane.org; Sun, 29 Dec 2002 12:01:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38) Original-X-Trace: fu-berlin.de 1041181086 8862118 217.81.240.38 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:tQS6XlGLOB66vFRTJUvXMk3Jxts= Original-Xref: shelby.stanford.edu gnu.emacs.help:108584 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5113 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > "Theepa Somasundaram" writes: > >> I have a Make file which contains a line like, >> gdb dummy.exe >> I run the make file from Emacs in compile mode. I would like Emacs >> not to send the command to the shell and instead to execute the >> debugger within Emacs, as if I had started the debugger with a >> shotcut key. > > It is not possible for make to talk back to Emacs to do stuff. So > you will have to circumvent make. > > I suggest you try M-x gdb RET. I forgot to mention that it might be possible to change the command line. M-x gdb RET offers you to type a command. You could try typing "make frumple" there, if frumple is the target that invokes the debugger in the end. But this might fail because M-x gdb RET does some magic with the command line that you type. Investigate the function gud-gdb-massage-args for the gory details. -- Ambibibentists unite!