[RFA/testcase] Enable overlays.exp only for sim target

Kei Sakamoto sakamoto.kei@renesas.com
Fri Oct 8 01:03:00 GMT 2004


I've committed the following patch. Thank you.

Kei Sakamoto

Michael Snyder wrote:
> Kei Sakamoto wrote:
> >>I guess I've never run this test on d10v hardware, but
> >>I used to run it on m32r hardware.  Why would it only
> >>work on the sim?
> > 
> > I'm sorry. I forgot about the remote debug environment.
> > The overlay test should work on evaluation boards and
> > emulators too.
> > 
> >>Matter of fact, why shouldn't it work just about anywhere?
> >>It doesn't have any hardware dependency, just a linker script.
> > 
> > It seems that Linux kernel can't load overlaid programs
> > into memory because VMA and LMA of overlaid 
> > sections are different. So overlays.exp is not available on
> > the Linux.
> > 
> > I revised the patch file. It disables overlays.exp if target is Linux.
> > 
> > Is this OK?
> 
> Yes, this is great -- thanks.



More information about the Gdb-patches mailing list