unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* gdb emacs no such file or directory gdb
@ 2014-10-21  0:12 Mike
  2014-10-21  6:44 ` Suvayu Ali
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Mike @ 2014-10-21  0:12 UTC (permalink / raw)
  To: help-gnu-emacs

Hi guys,

I have just decided to use Emacs and GDB for my FORTRAN coding. Everything seem to work perfectly, but the GDB and Emacs integration. I know GDB is working fine since I can operate it in terminal, but as soon as I try to use it in Emacs I get "no such file or directory gdb".

This problem is probably related to disagreement between the PATH in a shell and my Emacs exec-path as already discussed in  https://groups.google.com/forum/#!topic/gnu.emacs.help/WkjoK2L57rE.

Unfortunately, I do not know how to set the PATH in Emacs. However, I tried the following from above link that did not work:
"There is also a way to launch GNU Emacs from the Terminal (has the correct path) à la: 

        open /Applications/Emacs.app 

Then it will inherit $PATH's value and set exec-path accordingly. (Mac OS X misses some understanding of setting paths on an UNIX system.) 
"

Does any one know how can I solve the problem?

Any help on this would be much appreciated. 
Kind regards 

Mike


^ permalink raw reply	[flat|nested] 16+ messages in thread
* gdb emacs no such file or directory gdb
@ 2014-01-16  4:38 Rob Kinsey
  2014-01-16 12:34 ` Tim Visher
  2014-01-16 19:51 ` Peter Dyballa
  0 siblings, 2 replies; 16+ messages in thread
From: Rob Kinsey @ 2014-01-16  4:38 UTC (permalink / raw)
  To: help-gnu-emacs

Hi guys, 

Having a little trouble getting gdb to work inside emacs on OSX Mavericks. I know it is installed, as it runs ok in the terminal, but if I try to debug a program in emacs, I get the message:

Searching for program: No such file or directory, gdb

So far my research has led be to understand that although the native front end is starting, emacs is not actually finding gdb itself. How can I link these two programs together, I have also tried searching though the emacs preferences to no avail.

Any help on this would be much appreciated.

Kind regards

Rob.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-10-24  1:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21  0:12 gdb emacs no such file or directory gdb Mike
2014-10-21  6:44 ` Suvayu Ali
     [not found] ` <mailman.11612.1413873879.1147.help-gnu-emacs@gnu.org>
2014-10-21 13:34   ` Mike
2014-10-21 16:15     ` Suvayu Ali
     [not found]     ` <mailman.11649.1413908125.1147.help-gnu-emacs@gnu.org>
2014-10-21 19:24       ` Mike
2014-10-21 19:38         ` Jacob Gerlach
     [not found]         ` <mailman.11666.1413920348.1147.help-gnu-emacs@gnu.org>
2014-10-21 19:47           ` Mike
2014-10-22 12:55             ` Mike
2014-10-22 17:25         ` John Mastro
2014-10-22 17:29           ` John Mastro
2014-10-22 22:07 ` Mike
2014-10-22 23:05   ` John Mastro
2014-10-24  1:05 ` Mike
  -- strict thread matches above, loose matches on Subject: below --
2014-01-16  4:38 Rob Kinsey
2014-01-16 12:34 ` Tim Visher
2014-01-16 19:51 ` Peter Dyballa

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).