Re: MI testsuite fix

Pedro Alves
2008-04-21T14:32:07Z

A Monday 21 April 2008 13:32:58, Daniel Jacobowitz wrote:
> On Mon, Apr 21, 2008 at 12:35:58PM +0100, Pedro Alves wrote:

> > Now you've lost me. This is mapping absolute section addresses
> > to section offsets. It doesn't seem symfile_map_offsets_to_segments
> > or objfile_relocate would give any help here?
>
> Well, anything that just carries offsets forwards from the previous
> section is suspect. If the user gives us the addresses of .text and
> .data, it'd be nice to move the containing segments appropriately.
>

I see. We could also give the user an option to pass segment
addresses instead of section addresses, and then it indeed starts
looking like qOffsets.

> > 2008-04-21 Pedro Alves <pedro@codesourcery.com>
> >
> > * symfile.c (syms_from_objfile): Don't warn if lowest loadable
> > section is not a code section.
>
> OK.

Checked in. Thanks.

--
Pedro Alves