From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15571 invoked by alias); 15 Dec 2001 19:05:32 -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 15550 invoked from network); 15 Dec 2001 19:05:31 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 15 Dec 2001 19:05:31 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id CAE3D3D60; Sat, 15 Dec 2001 14:05:30 -0500 (EST) Message-ID: <3C1B9EFA.7080304@cygnus.com> Date: Sat, 15 Dec 2001 11:05:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.6) Gecko/20011207 X-Accept-Language: en-us MIME-Version: 1.0 To: Arkoudopoulos Panagiotis Cc: "'gdb@sources.redhat.com'" Subject: Re: psim: "undefined target" problems References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00141.txt.bz2 > Hello everybody > Jan told me about psim. A program that emulates the Instruction Set > Architecture of the PowerPC microprocessor family. Because it could be > helpfull for our project, I compiled/installed Insight-5.1 with the option > "--target=powerpc-linux". > Then I made a little test program, called 'test' ;-) which simply makes the > sum of three static variables. No include files are used, there is only > test.c which I compiled it with "powerpc-linux-gcc -g test.c -o test". > Then i ran insight and did "target sim", but it complained that the target > is undefined: > "Error: Undefined target command:"sim". Try "help target". " > The output of the command "help target" is: > "connect to a machine or target" > > could somebody tell me what I'm doing wrong? Try the target powerpc-eabi. It sounds like powerpc-linux doesn't configure in the simulator by default :-( Andrew