Re:Abusing GDB Features for Data Ingress and Egress
by matthews2 on Monday October 23, 2023 @03:10PM
(#37990191)
The debug info is stored in an elf file, just like an executable. You can have them together in the same file, or you can use a tool like objcopy to make them separate.
[ Parent
| on HN ]
Re:Abusing GDB Features for Data Ingress and Egress
by mschuster91 on Monday October 23, 2023 @04:34PM
(#37991208)
> or you can use a tool like objcopy to make them separate
which is how Debian generates the -debug packages [1].
[1] https://github.com/Debian/debhelper/blob/master/dh_strip