This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Gdb, PIE and scan_dyntag(DT_DEBUG)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Robert Jarzmik <robert dot jarzmik at free dot fr>
- Cc: gdb at sourceware dot org, robert dot jarzmik at intel dot com
- Date: Tue, 1 Apr 2014 08:48:03 +0200
- Subject: Re: Gdb, PIE and scan_dyntag(DT_DEBUG)
- Authentication-results: sourceware.org; auth=none
- References: <87bnwuuhzp dot fsf at free dot fr> <20140331184724 dot GA6038 at host2 dot jankratochvil dot net> <877g7augck dot fsf at free dot fr>
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