From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24970 invoked by alias); 2 Apr 2005 21:10:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24928 invoked from network); 2 Apr 2005 21:10:42 -0000 Received: from unknown (HELO mystic.root.hu) (193.202.82.14) by sourceware.org with SMTP; 2 Apr 2005 21:10:42 -0000 Received: from pool-1257.truenet.hu ([213.178.124.233] helo=freemail.hu) by mystic.root.hu with asmtp (Exim 4.33 #1 (Debian)) id 1DHpoW-0002BQ-PZ (authenticated sender: 24639c8750ed88fff6a508a203bb0b54); Sat, 02 Apr 2005 23:05:55 +0200 Message-ID: <424F26E2.20405@freemail.hu> Date: Sat, 02 Apr 2005 21:10:00 -0000 From: Ferenc Kovacs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040714 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: ARM-simulator problem (undefined target) References: <424EED10.6080902@freemail.hu> <20050402172017.GB7809@nevyn.them.org> In-Reply-To: <20050402172017.GB7809@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-FW-Spam: No (-2.6) X-Authenticated-Sender: 24639c8750ed88fff6a508a203bb0b54 X-SW-Source: 2005-04/txt/msg00019.txt.bz2 Daniel Jacobowitz wrote: >[Sorry about resending; I failed to copy the list the first time.] > >On Sat, Apr 02, 2005 at 07:05:52PM +0000, Ferenc Kovacs wrote: > > >>Hello! >> >>I need to test some ARM/THUMB executables in GDB but i >>have some problems building a working simulator. I configured >>GDB-6.3 with these command line options: >> >>./configure --target=arm-unknown-linux --prefix=$INSTALL_DIR >> >>When i enter "target sim" on GDB's prompt, i get the >>following message: >> >>Undefined target command: "sim". Try "help target". >> >>The "help target" lists only exec, remote, async, etc. but >>no sim. I think my target ("arm-unknown-linux") matches >>the "arm*-*-*" pattern in gdb-6.3/sim/configure and i have the >>libarm-unknown-linux-sim.a in the $INSTALL_DIR/lib directory, >>but it's still not working... >> >>Could somebody tell me what can be the problem?? >> >> > >The simulator doesn't get linked in for arm-linux. I'm not sure if >this is a bug or a feature, to be honest. Try arm-elf. > >If folks think arm-linux should include the simulator, I have a patch >around here somewhere to add it... > The arm-elf simulator works ok and i think it'll do the job, but if you find that arm-linux patch could you send it?? Thanks! Feri