This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 06/15] PIE: Fix displacement of separate debug info files
- From: Tristan Gingold <gingold at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Tom Tromey <tromey at redhat dot com>
- Date: Mon, 11 Jan 2010 10:05:51 +0100
- Subject: Re: [patch 06/15] PIE: Fix displacement of separate debug info files
- References: <20091109205855.GG19138@host0.dyn.jankratochvil.net> <m3pr7qb3rg.fsf@fleche.redhat.com> <20100109091916.GF10482@host0.dyn.jankratochvil.net>
>> Ok with this change.
>
> Checked-in.
>
> Just updated it so that objfile_relocate is now using new
> objfile_separate_debug_iterate for all the separate debug info files.
>
> But now thinking about it - is it correct, Tristan? Haven't I broke the OSX
> support by this check-in (by remapping all the object files to single
> address)? Unaware how the OSX files look but the objfile_relocate caller will
> come in later patch.
Hi,
to my understanding, objfile_relocate is not used in OSX case. Don't worry, I will investigate in case of
bug. Thanks to your comments, I now have a better understanding of this code.
>
> Also build_section_addr_info_from_objfile was already checked-in so just
> extended it for biarch support (which has been already approved before).
Tristan.