From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30826 invoked by alias); 7 Oct 2004 18:26:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30768 invoked from network); 7 Oct 2004 18:26:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 7 Oct 2004 18:26:41 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.10) with ESMTP id i97IQaIU019708 for ; Thu, 7 Oct 2004 14:26:36 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i97IQYr10184; Thu, 7 Oct 2004 14:26:34 -0400 Received: from redhat.com (dhcp-172-16-25-160.sfbay.redhat.com [172.16.25.160]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id i97IQUVb013029; Thu, 7 Oct 2004 14:26:31 -0400 Message-ID: <41658A55.8030602@redhat.com> Date: Thu, 07 Oct 2004 18:26:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.4.2) Gecko/20040301 MIME-Version: 1.0 To: Kei Sakamoto CC: gdb-patches@sources.redhat.com Subject: Re: [RFA/testcase] Enable overlays.exp only for sim target References: <01ba01c4a796$8037a580$5169910a@E5A02646> <415DCC83.1070806@redhat.com> <026101c4aa97$1d5a3050$5169910a@E5A02646> In-Reply-To: <026101c4aa97$1d5a3050$5169910a@E5A02646> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00133.txt.bz2 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.