[Top][All Lists]

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

Re: Debugging Emacs with lldb

From: Eli Zaretskii
Subject: Re: Debugging Emacs with lldb
Date: Sat, 24 Jul 2021 09:18:34 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 23 Jul 2021 20:34:47 -0400
> Cc: emacs-devel <emacs-devel@gnu.org>
>  If you can get GDB installed it should be possible to sign it so it
>  works. At least it used to be possible to do so. There are
>  instructions on the internet, but I won't recommend any particular
>  ones as I haven't done it for years.
> I’ve tried countless times since 2019, and I can install and code sign GDB, 
> but every time I “run”, gdb hangs.
> That seems to be a bug that was yet to be fixed[1]. 

Please try the latest pretest of GDB 11, I think something was done
there about that.  The NEWS file says:

  * Configure changes

    This can be used to invoke "codesign -s CERT" after building gdb.
    This option is useful on macOS, where code signing is required for
    gdb to work properly.

I don't use macOS, so have no idea what that means in practice, but
perhaps you and Alan will.

In general, I suggest to invest any effort required to have GDB
running on your system, it is very hard to debug Emacs without having
GDB (you need to type the expansion of every .gdbinit command by hand
each time, and some of them won't work at all).

reply via email to

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