From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Newsgroups: gmane.emacs.help Subject: Re: gdb emacs no such file or directory gdb Date: Thu, 23 Oct 2014 18:05:01 -0700 (PDT) Message-ID: <35980d09-c87d-48ff-9de7-45ba0f407142@googlegroups.com> References: <862bfff5-fd71-40f4-afa3-ae22c7bac5af@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1414112729 26245 80.91.229.3 (24 Oct 2014 01:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2014 01:05:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 24 03:05:22 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 1XhTJg-0001lG-SV for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Oct 2014 03:05:21 +0200 Original-Received: from localhost ([::1]:44263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhTJg-0005Gi-Cx for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Oct 2014 21:05:20 -0400 X-Received: by 10.52.99.226 with SMTP id et2mr5693796vdb.8.1414112701896; Thu, 23 Oct 2014 18:05:01 -0700 (PDT) X-Received: by 10.182.181.35 with SMTP id dt3mr19514obc.19.1414112701739; Thu, 23 Oct 2014 18:05:01 -0700 (PDT) Original-Path: usenet.stanford.edu!s7no177106qap.0!news-out.google.com!ks2ni1344igb.0!nntp.google.com!uq10no16536472igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <862bfff5-fd71-40f4-afa3-ae22c7bac5af@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=129.97.124.178; posting-account=b7cVTQoAAACtiB8NWNbSevhDsLKeO9Lu Original-NNTP-Posting-Host: 129.97.124.178 User-Agent: G2/1.0 Injection-Date: Fri, 24 Oct 2014 01:05:01 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208301 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:100576 Archived-At: Hello I found a solution for my problem by copying the following to mu ~/.emacs file (add-to-list 'load-path "~/elisp") (require 'exec-path-from-shell) (when (memq window-system '(mac ns)) (exec-path-from-shell-initialize)) where exec-path-from-shell is a .el file that someone has written to copy the path files from the shell. By doing this the Emacs can run the gdb. However, when I want to run a code using gdb in emacs, it is very slow and most of the time emacs crashes and I have to force quit. Any idea?