]> git.eshelyaron.com Git - emacs.git/commit
Work around GDB bug 32313 when debugging Emacs internals
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 Oct 2024 00:21:23 +0000 (17:21 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:55:39 +0000 (10:55 +0100)
commitc07c012b37e880fc79a238c206f8247306b53dd5
treeb35c0c8dac155f93550c958c77604c2e40ba6cee
parent913c76ef990700d54b380c30be3b8b7f78def250
Work around GDB bug 32313 when debugging Emacs internals

Problem reported by Eli Zaretskii in:
https://lists.gnu.org/r/emacs-devel/2024-10/msg00653.html
* src/eval.c (backtrace_function_body): Rename from
backtrace_function, and make it static.
(GDB_FUNCPTR): New macro.
(backtrace_function): New function pointer, for GDB only.

(cherry picked from commit ebf3fb9a2295520ef8ce1756086fd9bbd3d04e9e)
src/eval.c