[arch-dev-public] Debug packages for Arch Linux

Leonidas Spyropoulos artafinde at archlinux.org
Fri Feb 4 13:24:33 UTC 2022


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x59E43E106B247368.asc
Type: application/pgp-keys
Size: 8696 bytes
Desc: OpenPGP public key
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20220204/cf30da26/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20220204/cf30da26/attachment-0001.sig>


More information about the arch-dev-public mailing list