|Subject:||Re: Help getting started debugging Emacs on macOS Sierra|
|Date:||Fri, 11 Aug 2017 15:14:23 +0300|
On Fri, 11 Aug 2017, Itai Berli wrote:
However, now I get theThat means, gdb doesn't know which program to debug.
following complaint from gdb:
> No executable file specified.
> Use the "file" or "exec-file" command.
Here's the complete contents of the *gud* buffer.
Current directory is ~/Assuming your executable is at:
No symbol table is loaded. Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (main) pending.
No executable file specified.
Use the "file" or "exec-file" command.
you can do in the gdb command line:
On Fri, Aug 11, 2017 at 12:59 PM, Itai Berli <address@hidden> wrote:DUNNO why it doesn't starts at ~/emacs.
By the way, the *gud* buffer's first line is
> Current directory is ~/
However, the Emacs source code is in ~/emacs. Maybe this is the problem? But I started Emacs from ~/emacs. How can I set
the *gud* buffer's current directory?
You can try from a terminal:
|> emacs ~/emacs/src
;; now call gdb
M-x gdb RET ; it should offer to debug 'bootstrap-emacs'
|[Prev in Thread]||Current Thread||[Next in Thread]|