all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* filtering output from compile
@ 2002-12-29  0:54 Theepa Somasundaram
  0 siblings, 0 replies; 3+ messages in thread
From: Theepa Somasundaram @ 2002-12-29  0:54 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]

Hi,

I am completely new to elisp.

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.

Is this possible?

Thanks in advance, Theepa

[-- Attachment #1.2: Type: text/html, Size: 1166 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: filtering output from compile
       [not found] <mailman.677.1041122911.19936.help-gnu-emacs@gnu.org>
@ 2002-12-29 11:34 ` Kai Großjohann
  2002-12-29 16:57   ` Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2002-12-29 11:34 UTC (permalink / raw)


"Theepa Somasundaram" <theepa@hemphil.f9.co.uk> 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.
-- 
Ambibibentists unite!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: filtering output from compile
  2002-12-29 11:34 ` Kai Großjohann
@ 2002-12-29 16:57   ` Kai Großjohann
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-29 16:57 UTC (permalink / raw)


kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> "Theepa Somasundaram" <theepa@hemphil.f9.co.uk> 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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-29 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-29  0:54 filtering output from compile Theepa Somasundaram
     [not found] <mailman.677.1041122911.19936.help-gnu-emacs@gnu.org>
2002-12-29 11:34 ` Kai Großjohann
2002-12-29 16:57   ` Kai Großjohann

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.