From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29707 invoked by alias); 3 Sep 2003 10:36:25 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 29678 invoked from network); 3 Sep 2003 10:36:24 -0000 Received: from unknown (HELO tweedledum.esatclear.ie) (194.145.128.7) by sources.redhat.com with SMTP; 3 Sep 2003 10:36:24 -0000 Received: from [194.145.128.35] (helo=esatclear.ie) by tweedledum.esatclear.ie with smtp (Exim 4.14) id 19uUzv-0005Ew-2M; Wed, 03 Sep 2003 11:36:23 +0100 From: "David Mc Kenna" Reply-to: mckennad@esatclear.ie To: Richard Earnshaw , mckennad@esatclear.ie, Richard Earnshaw , gdb@sources.redhat.com, insight@sources.redhat.com, Richard.Earnshaw@arm.com Cc: gdb@sources.redhat.com, insight@sources.redhat.com, Richard.Earnshaw@arm.com Date: Wed, 03 Sep 2003 10:36:00 -0000 Subject: Re: ARM Simulator Bug? Message-id: <3f55c427.298a.0@esatclear.ie> X-User-Info: 137.71.23.54 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q3/txt/msg00140.txt.bz2 Hi Richard, I think I have gotten closer to solving my problem. It relates to the linker script I use with compilation of gcc. If I take the standard armelf.x from the ldscripts directory and link against it my problem disappears. My problem is that I wish to place my reset vectors at 0x00 not the standard 0x8000. So I change the line: /* Read-only sections, merged into text segment: */ . = 0x8000; to /* Read-only sections, merged into text segment: */ . = 0x00; and my problem resurfaces. At a quick check of my memory contents from gdb at 0x00 I get 0x01 as opposed to what I get when I "download" the program using Run->Download of 0xEA000015. Any ideas? Thanks, Dave -- http://www.iol.ie