This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: hello application
- To: sebastien dot andre at sxb dot bsf dot alcatel dot fr
- Subject: Re: [ECOS] hello application
- From: Bart Veer <bartv at redhat dot com>
- Date: Wed, 13 Jun 2001 17:22:03 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <3B278692.66EC61AE@sxb.bsf.alcatel.fr>
- Reply-To: bartv at redhat dot com
>>>>> "Sebastien" == andre33 <sebastien.andre@sxb.bsf.alcatel.fr> writes:
Sebastien> Hello,
Sebastien> I try to run the hello example with gdb in a simulator
Sebastien> mode !!! i think that is possible but i don't success
Sebastien> i execute it :
Sebastien> arm-elf-gdb ../../example/hello
Sebastien> (gdb) : target sim
Sebastien> and i try many ways but no succes
Sebastien> (gdb) run or (gdb) load cygmon.img
Sebastien> (gdb) run
Sebastien> What i does wrong ?
Sebastien> Grrr the compilation of hello.c is correct but no
Sebastien> emulation is possible :-(
You are trying to run an eCos application in an instruction-set
simulator. That is not going to work: eCos requires functionality such
as timer hardware, so you need some sort of architectural simulator.
The simulator built into gdb only supports architectural simulation
for a few targets are per my earlier message, and ARM is not one of
those targets.
Bart