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

Kei Sakamoto sakamoto.kei@renesas.com
Tue Oct 5 04:52:00 GMT 2004


> 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?

Kei Sakamoto

2004-10-05    Kei Sakamoto  <sakamoto.kei@renesas.com>

        * gdb.base/overlays.exp: Disables if target is Linux.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overlays.patch
Type: application/octet-stream
Size: 587 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20041005/6d12f1c8/attachment.obj>


More information about the Gdb-patches mailing list