Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* combining symbols with a shared library
@ 2015-09-25  8:56 Pawel Por
  2015-09-25  9:11 ` Dmitry Samersoff
  0 siblings, 1 reply; 2+ messages in thread
From: Pawel Por @ 2015-09-25  8:56 UTC (permalink / raw)
  To: gdb

Hi

I've got a shared library lib.so and a symbol file for it lib.dbg and
I want to combine them together.
How can I do that in linux ?

thanks for help


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: combining symbols with a shared library
  2015-09-25  8:56 combining symbols with a shared library Pawel Por
@ 2015-09-25  9:11 ` Dmitry Samersoff
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Samersoff @ 2015-09-25  9:11 UTC (permalink / raw)
  To: Pawel Por, gdb

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pawel,

Take a look at objcopy

but you may consider to add .gnu_debuglink section
to shared library instead of copying entire debug information.

- -Dmitry

On 2015-09-25 11:55, Pawel Por wrote:
> Hi
> 
> I've got a shared library lib.so and a symbol file for it lib.dbg
> and I want to combine them together. How can I do that in linux ?
> 
> thanks for help
> 


- -- 
Dmitry Samersoff
Saint Petersburg, Russia, http://devnull.samersoff.net
* There will come soft rains  ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJWBQ/VAAoJEHEy08c4gIAB00AIAKhKo1Fs6iQ5HfaVdBTIrcyi
/28nFsaQwqg67jSaZvrn4tnB5zYHMhGJDT+AM6hw8vlLhFWdPNRJZKBD6QXLcytN
v+dYne2fB+WtojrRmlsiwpPWb+Yr4dVL4exwulPV25fYHuSiEAYzKvt1YnPB8cpu
FTZj3GJbB/DYIw5eeqYeX9B0x5JjcCg1GXWy2uIm+1mlP4g46ao4BOLz2iJLGzYX
4BIvaS0dG42GzFQD1MiQxOkKZbf6XfyWjbTEbezaDjLQphXlSP0dUDvKim6tG0zF
1341hW6XucG7AGO1StqYJHiP2a1qkIfvZpkTGAgB7vCokdsDD+nlVdJOC89fSqk=
=3t/w
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-25  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-25  8:56 combining symbols with a shared library Pawel Por
2015-09-25  9:11 ` Dmitry Samersoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox