Re: [patch] Speed up find_pc_section

Michael Snyder
2009-08-18T17:31:26Z

Paul Pluzhnikov wrote:
> On Mon, Aug 17, 2009 at 12:54 PM, Ulrich Weigand<uweigand@de.ibm.com> wrote:
>
>> Section can partially overlap with overlays ...
>
> Yes, the same thing also is happening on Darwin; some discussion here:
> http://sourceware.org/ml/gdb-patches/2009-08/msg00201.html
>
> The thing is: when the assumptions are violated, (AFAICT) find_pc_section
> couldn't have worked correctly before my patch, except by accident.
>
> What is the simplest way to test overlays?

If you can build a d10v or m32r toolchain, you can run the
gdb overlay tests against the simulator. That is, I hope
they still work -- I haven't touched them in years...