This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 05/15] PIE: Move some symfile code into subroutines
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 10 Nov 2009 11:29:39 -0700
- Subject: Re: [patch 05/15] PIE: Move some symfile code into subroutines
- References: <20091109205837.GF19138@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> * symfile.h (relative_addr_info_to_section_offsets)
Jan> (addr_info_make_relative): New prototypes.
Jan> * symfile.c (default_symfile_offsets): Move a part to ...
Jan> (relative_addr_info_to_section_offsets): ... this new function.
Jan> (default_symfile_offsets): Call it.
Jan> (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
Jan> this part to ...
Jan> (addr_info_make_relative): ... this new function.
Ok.
Tom