On 04/02/2022 12:49, Jelle van der Waa via arch-dev-public wrote:
* How do I verify if the debug package is generated correctly?
After installing the debug package, gdb $binary should reveal:
[jelle@t14s][~]%gdb /usr/bin/cryptsetup Reading symbols from /usr/bin/cryptsetup... Reading symbols from /usr/lib/debug/usr/bin/cryptsetup.debug...
I've noticed that some packages say such thing but followed right after with:
Reading symbols from /usr/bin/bonnie++... Reading symbols from /usr/lib/debug/usr/bin/bonnie++.debug... (No debugging symbols found in /usr/lib/debug/usr/bin/bonnie++.debug) (gdb)
The above is wrong - it doesn't work, so just make sure the gdb prompt is right after the reading symbols line like:
Reading symbols from /usr/bin/shotcut... Reading symbols from /usr/lib/debug/usr/bin/shotcut.debug... (gdb)
Cheers, -- Leonidas Spyropoulos PGP: 59E43E106B247368