logo       

Re: filtering output from compile: msg#00933

emacs.help

Subject: Re: filtering output from compile

kai.grossjohann@xxxxxxxxxxxxxxx (Kai Großjohann) writes:

> "Theepa Somasundaram" <theepa@xxxxxxxxxxxxxxxx> 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!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise