Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!LOM1.MATH.YALE.EDU!ara From: ara@LOM1.MATH.YALE.EDU (Allan Adler) Newsgroups: gnu.emacs Subject: (none) Message-ID: <8910160632.AA20083@LOM1.MATH.YALE.EDU> Date: 16 Oct 89 06:32:20 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 Subject: gdb and emacs I am using a SUN which has emacs and gdb installed. I can call gdb from the shell and I can run emacs. But from emacs, I don't seem to be able to run gdb by typing M-x gdb as I can on other SUNs. Is there some way I can configure my .emacs file to permit this ? I don't know anything about writing lisp to control emacs. By reading the emacs manual and experimenting a little bit, I was able to do the following: (1) Type M-x shell to get a shell inside of emacs (2) Type gdb from within that shell, whereupon it seemed a lot like what I was used to. However, even if (1) and (2) are the ingredients of the M-x gdb command, I don't know how to put them together to create the M-x gdb command and I don't know how to make the passage through the shell transparent. Any suggestions are welcome. I don't subscribe to this list, so please reply to me directly. Thanks. Sincerely, Allan Adler ara@lom1.math.yale.edu