From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6717 invoked by alias); 1 Apr 2014 06:48:17 -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 6703 invoked by uid 89); 1 Apr 2014 06:48:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Apr 2014 06:48:13 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s316m9qr014199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 Apr 2014 02:48:09 -0400 Received: from host2.jankratochvil.net (ovpn-116-76.ams2.redhat.com [10.36.116.76]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s316m31S016782 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 1 Apr 2014 02:48:08 -0400 Date: Tue, 01 Apr 2014 06:48:00 -0000 From: Jan Kratochvil To: Robert Jarzmik Cc: gdb@sourceware.org, robert.jarzmik@intel.com Subject: Re: Gdb, PIE and scan_dyntag(DT_DEBUG) Message-ID: <20140401064803.GA31557@host2.jankratochvil.net> References: <87bnwuuhzp.fsf@free.fr> <20140331184724.GA6038@host2.jankratochvil.net> <877g7augck.fsf@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877g7augck.fsf@free.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00000.txt.bz2 On Tue, 01 Apr 2014 00:56:59 +0200, Robert Jarzmik wrote: > To be more precise, the ELF program headers of the unstripped binary and the > stripped binary didn't match, In general eu-strip (from elfutils; compared to binutils strip) is more preserving the binaries when they still should match each other. And Fedora is using eu-strip for the debug info packages separation. IIRC I have seen some other distro using regular strip for it. Jan