Kirill A. Korinsky <[email protected]> writes:

> On Fri, 26 Jun 2026 23:19:31 +0200,
> Manuel Giraud <[email protected]> wrote:
>> 
>> Phil Maker <[email protected]> writes:
>> 
>> > Manual,
>> >
>> > For what its worth on 7.9
>> >
>> > % egdb /usr/local/bin/emacs
>> > break main
>> > run
>> > cont
>> > quit
>> >
>> > All seems to work reasonably, any particular use case?
>> 
>> Hi,
>> 
>> I've just tested your recipe and yes this works flawlessly... but the
>> OpenBSD Emacs package does not come with the symbols useful for
>> debugging.  Hence, I'm compiling Emacs from source with the recommended
>> debug options.
>
> Are you sure? Have you tried to install debug-emacs?

Thanks.  Yes, this works much better and egdb even says:

Reading symbols from /usr/local/bin/emacs...
Reading symbols from /usr/local/bin/.debug/emacs-30.2.dbg...

But now I'm wondering why I have such a misbehavior by building myself
from source (note that I need this because I'm working on the main Emacs
branch).  Maybe I need some of the patches from
/usr/ports/editors/emacs/patches/ 🤷
-- 
Manuel Giraud

Reply via email to