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

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

Re: gdb emacs no such file or directory gdb


From: Mike
Subject: Re: gdb emacs no such file or directory gdb
Date: Thu, 23 Oct 2014 18:05:01 -0700 (PDT)
User-agent: G2/1.0

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?


reply via email to

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