From: autozimu@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: Some problems of Emacs on my OS X 10.8.5
Date: Sun, 23 Feb 2014 10:45:09 -0800 (PST) [thread overview]
Message-ID: <5d80afb8-714b-483c-b5f9-ce9bce969c81@googlegroups.com> (raw)
In-Reply-To: <mailman.15838.1393166516.10748.help-gnu-emacs@gnu.org>
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.
next parent reply other threads:[~2014-02-23 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.15838.1393166516.10748.help-gnu-emacs@gnu.org>
2014-02-23 18:45 ` autozimu [this message]
2014-02-23 19:28 ` Some problems of Emacs on my OS X 10.8.5 Jai Dayal
2014-02-24 8:58 ` Peter Dyballa
2014-02-23 7:55 Haomin Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d80afb8-714b-483c-b5f9-ce9bce969c81@googlegroups.com \
--to=autozimu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).