emacs-devel
[Top][All Lists]
Advanced

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

Re: Help getting started debugging Emacs on macOS Sierra


From: Itai Berli
Subject: Re: Help getting started debugging Emacs on macOS Sierra
Date: Fri, 11 Aug 2017 12:59:08 +0300

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?

On Fri, Aug 11, 2017 at 12:55 PM, Itai Berli <address@hidden> wrote:
Typing "b main<RET>" in the *gud* buffer results in the following error message:

> Current buffer has no process

On Fri, Aug 11, 2017 at 12:52 PM, Eli Zaretskii <address@hidden> wrote:
> From: Itai Berli <address@hidden>
> Date: Fri, 11 Aug 2017 12:27:01 +0300
> Cc: Emacs developers <address@hidden>
>
> Paul Eggert wrote:
>
> > type the GDB command "b Fexpand_file_name" to plant a breakpoint in (say) Fexpand_file_name
>
> What do you mean by 'Fexpand_file_name'? The name of a file, or the name of a function?

It's the name of a function.

> Could you give me
> a concrete example? Suppose, for instance, I wish to place a breakpoint at the start of the 'main; function. How
> can I do so?

"b main".  "b" is a short for "break".



reply via email to

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