From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: autozimu@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Some problems of Emacs on my OS X 10.8.5 Date: Sun, 23 Feb 2014 10:45:09 -0800 (PST) Message-ID: <5d80afb8-714b-483c-b5f9-ce9bce969c81@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1393183470 3114 80.91.229.3 (23 Feb 2014 19:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Feb 2014 19:24:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 23 20:24:39 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WHefH-0007PF-3d for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Feb 2014 20:24:39 +0100 Original-Received: from localhost ([::1]:54039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHefG-0003hr-MU for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Feb 2014 14:24:38 -0500 X-Received: by 10.182.190.114 with SMTP id gp18mr6989698obc.37.1393181110015; Sun, 23 Feb 2014 10:45:10 -0800 (PST) X-Received: by 10.182.213.7 with SMTP id no7mr22490obc.19.1393181109847; Sun, 23 Feb 2014 10:45:09 -0800 (PST) Original-Path: usenet.stanford.edu!uy17no5801326igb.0!news-out.google.com!h8ni95igy.0!nntp.google.com!uy17no5804359igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.113.224.196; posting-account=_uqi4woAAACi5ZFehaF_jBb7KJ0gr15X Original-NNTP-Posting-Host: 130.113.224.196 User-Agent: G2/1.0 Injection-Date: Sun, 23 Feb 2014 18:45:09 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203909 X-Mailman-Approved-At: Sun, 23 Feb 2014 14:24:26 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96178 Archived-At: 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 * 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.