]> git.eshelyaron.com Git - emacs.git/commit
Set 'native-comp-debug' to zero on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2022 15:59:04 +0000 (18:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Oct 2022 15:59:04 +0000 (18:59 +0300)
commitdf7ca69920e0a21ec425118090a4116fa0f7c0a6
treebac8514261184ba12eac08faba1f2e3c516a4710
parent81d7827f34f1ac1108891421a44b36554776b04e
Set 'native-comp-debug' to zero on MS-Windows

* lisp/emacs-lisp/comp.el (native-comp-debug): Don't emit debug
symbols on MS-Windows.  The default was originally made 1 because
without that, C backtraces on Windows would not show
natively-compiled functions correctly, or would even stop short of
reaching the topmost call frame.  But that turned out to be due to
a bug in GDB, which was meanwhile fixed in GDB 12.  So we can now
reset the value back to zero, and gain smaller *.eln files on
MS-Windows.
lisp/emacs-lisp/comp.el