GNU bug report logs - #71292
30.0.50; macOS: .elns have no debug info

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Fri, 31 May 2024 13:57:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 71292 <at> debbugs.gnu.org
Subject: bug#71292: 30.0.50; macOS: .elns have no debug info
Date: Fri, 31 May 2024 21:32:23 +0300
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Cc: 71292 <at> debbugs.gnu.org
> Date: Fri, 31 May 2024 20:12:45 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Then how about using -keep-temps as part of native-comp-debug = 3?
> 
> I think you mean debug >= 2?

Mo, I meant > 2.

> Anyway, debug info is also valuable when you don't have the C file, in
> the disassembly. That is for debug > 0. Otherwise you see only bare hex
> addresses and such.

Debug info and keeping the *.o files is not the same.  Keeping the *.o
files is really gross, which is why I suggested debug > 2 (as it keeps
other intermediate files).

Doesn't macOS support separate debug info, which can be created with
objcopy?  If it does, you could copy the debug info from the *.o
files, and then deleting them would not hamper debugging.




This bug report was last modified 1 year and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.