This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: psim: "undefined target" problems
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Arkoudopoulos Panagiotis <Panagiotis dot Arkoudopoulos at siemens dot atea dot be>
- Cc: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Sat, 15 Dec 2001 14:05:30 -0500
- Subject: Re: psim: "undefined target" problems
- References: <E76F715C0429D5118F2100508BB9EDEE010C2D58@hrtades7.atea.be>
> 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