From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68347 invoked by alias); 25 Sep 2015 09:11:56 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 68336 invoked by uid 89); 25 Sep 2015 09:11:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: samersoff.net Received: from Unknown (HELO samersoff.net) (81.9.105.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 25 Sep 2015 09:11:54 +0000 Received: from [192.168.0.77] (port=53338) by samersoff.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1ZfP2j-000MJE-Fc; Fri, 25 Sep 2015 09:11:49 +0000 Message-ID: <56050FD5.1080105@samersoff.net> Date: Fri, 25 Sep 2015 09:11:00 -0000 From: Dmitry Samersoff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Pawel Por , gdb@sourceware.org Subject: Re: combining symbols with a shared library References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Authenticated-As: dms X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00023.txt.bz2 -----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-----