Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Dmitry Samersoff <dms@samersoff.net>
To: Pawel Por <porparek@gmail.com>, gdb@sourceware.org
Subject: Re: combining symbols with a shared library
Date: Fri, 25 Sep 2015 09:11:00 -0000	[thread overview]
Message-ID: <56050FD5.1080105@samersoff.net> (raw)
In-Reply-To: <CAJmOuEzghSnE+RuVsDHWuQyBGsjGuc4Ggpzung06JoWGKtdbFQ@mail.gmail.com>

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


      reply	other threads:[~2015-09-25  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25  8:56 Pawel Por
2015-09-25  9:11 ` Dmitry Samersoff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56050FD5.1080105@samersoff.net \
    --to=dms@samersoff.net \
    --cc=gdb@sourceware.org \
    --cc=porparek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox