RFC: Fix qOffsets handling

Jim Blandy jimb@codesourcery.com
Mon Sep 24 21:49:00 GMT 2007


Joel Brobecker <brobecker@adacore.com> writes:
>> 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.

I've committed this to trunk and branch.



More information about the Gdb-patches mailing list