[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56495: 29.0.50; Support for debugging Emacs with LLDB
From: |
Gerd Möllmann |
Subject: |
bug#56495: 29.0.50; Support for debugging Emacs with LLDB |
Date: |
Mon, 11 Jul 2022 10:13:35 +0200 |
My system, macOS with Apple M1 chip, is currently not supported by GDB.
To quote gdb-devel, "lldb is the way to go" to debug Emacs for me.
Attached patch adds rather limited support for that. Limited by
- the fact that I don't know LLDB,
- that I don't know LLDB's Python API,
- that I'm not a Python programmer,
- that the Python API documentation is pretty lacking in itself,
- that I didn't implement support for ENABLE_CHECKING and what else
might change Lisp_Object layout
So please bear with me.
Anyway, at least displaying some Lisp_Objects with 'p obj' seems to
work, and 'xbacktrace' seems to be working.
YMMV.
0001-Support-for-debugging-Emacs-with-LLDB.patch
Description: Binary data
signature.asc
Description: Message signed with OpenPGP
- bug#56495: 29.0.50; Support for debugging Emacs with LLDB,
Gerd Möllmann <=
bug#56495: 29.0.50; Support for debugging Emacs with LLDB, Eli Zaretskii, 2022/07/11
bug#56495: 29.0.50; Support for debugging Emacs with LLDB, Richard Stallman, 2022/07/11