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

Michael Snyder msnyder@redhat.com
Thu Oct 7 18:26:00 GMT 2004


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