This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]