FS#74768 - [zsh] please enable debug info

Attached to Project: Arch Linux
Opened by Celeste (Coelacanthus) - Monday, 16 May 2022, 11:50 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 02 May 2023, 21:59 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

please enable debug info and LTO

I test it locally using devtools 20220207-2, it works well with options=(debug lto)
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 02 May 2023, 21:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  "As per last commit - debug symbols are available."
Comment by loqs (loqs) - Monday, 16 May 2022, 18:35 GMT
As LTO is enabled in the default options is specifying it explicitly required?
Comment by Celeste (Coelacanthus) - Tuesday, 17 May 2022, 04:33 GMT
Oh, I didn't notice that lto was already enabled by default, so just enable the debug option.
Comment by Emil (xexaxo) - Tuesday, 02 May 2023, 14:22 GMT
The "debug" option landed in devtools a while and zsh has been rebuild since then.

So while some/most mirrors do not host the actual debug package - it should be there. Ideally you've using debuginfod though.
Simply run `gdb zsh -f` press Y on the "Enable debuginfod for this session?" and enjoy.

Loading...