This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Fix qOffsets handling
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jim Blandy <jimb at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 21 Sep 2007 15:19:37 -0700
- Subject: Re: RFC: Fix qOffsets handling
- References: <m3wsuj8ywc.fsf@codesourcery.com>
> Daniel Jacobowitz has approved this change off-list, and asked me to
> suggest it be included on the 6.7 branch as well. I'll wait for
> further comments here, and commit to trunk on Monday; Joel, is this
> okay for the branch?
Sure! I agree it should be applied to the branch as well.
>
> gdb/ChangeLog:
> 2007-09-21 Jim Blandy <jimb@codesourcery.com>
>
> * symfile.h (struct symfile_segment_data): Doc fixes.
> * symfile.c (symfile_map_offsets_to_segments): Doc fixes.
> Assert that we were passed some loaded segment addresses,
> and that sections' segment numbers are valid.
> Simplify offset calculation.
> * remote.c (get_offsets): Clarify selection of relocate-by-segment
> strategy, and set num_segments correctly. Delete redundant
> assignments to do_sections.
Thanks,
--
Joel