help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some problems of Emacs on my OS X 10.8.5


From: autozimu
Subject: Re: Some problems of Emacs on my OS X 10.8.5
Date: Sun, 23 Feb 2014 10:45:09 -0800 (PST)
User-agent: G2/1.0

On Sunday, February 23, 2014 2:55:05 AM UTC-5, Haomin Long wrote:
> Hello!
> 
> Recently I use Emacs 24.3 on my OS X 10.8.5.
> 
> To debug, I installed GNU GDB 7.7  from homebrew.
> 
> But in Emacs I can't use M-x gdb. It just showed "No such file or
> 
> directory, gdb" in the minibuffer.
> 
> I typed "M-! echo $PATH" and it did show the directory that containing the
> 
> GDB program.
> 
> So I typed "M-! gdb ***". After that it did execute GDB , but the first
> 
> line of it is "(gdb) quit"!!
> 
> I searched a lot at Google but I'm not able to solve it.
> 
> Is it some kind of Bug?
> 
> THANKS!
> 
> 
> 
> -- 
> 
> 
> 
> *Houman Lung*
> 
> 
> 
> *Department of Computer Science and Technology, Tsinghua University,
> 
> Beijing China*
> 
> 
> 
> *Mobile: (+86)18688148073*
> 
> *E-mail: cherudim9@gmail.com <cherudim9@gmail.com>*

I believe Emacs uses the variable `exec-path` to find executables, rather than 
the env $PATH from shell.

This [script](https://github.com/purcell/exec-path-from-shell) might helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]