* Add build-id section to existing binaries
@ 2016-03-31 10:28 Bogdan Harjoc
0 siblings, 0 replies; only message in thread
From: Bogdan Harjoc @ 2016-03-31 10:28 UTC (permalink / raw)
To: gdb
I have some rootfs images built with debug symbols and want to strip
the symbols to separate files to fit on a device, but also allow gdb
to load the symbols automatically from a folder that has symbols for
each build-id.
The existing build system doesn't add -Wl,--build-id to gcc commands.
Is there a way to add these build-ids afterwards, the way objcopy
--add-gnu-debuglink works ?
Each built package goes through ./configure && make and I'm trying to
avoid passing the required flags to each configure command.
Thanks,
Bogdan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-31 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-31 10:28 Add build-id section to existing binaries Bogdan Harjoc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).