This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
I don't get the output "Hello, eCos world!"
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] I don't get the output "Hello, eCos world!"
- From: Arif dot Abbas at combitechsystems dot com
- Date: Wed, 20 Jun 2001 13:24:59 +0200
Hi!
Can someone please help me with a problem that occurs when I run the
arm-elf-gdb on the "hello" file?
(One of the example files in eCos).
After the run command, I get a message that sais that the program exited
normally, but I don't get any
output on the screen....
administrator@CS080063 ~/Program Files/Red Hat/eCos/examples
$ make
arm-elf-gcc -mcpu=strongarm -nostartfiles
-L//c/ecos-work/t
est2_install/lib -Wl,--gc-sections -o hello hello.o -Ttarget.ld -nostdlib
arm-elf-gcc -mcpu=strongarm -nostartfiles
-L//c/ecos-work/t
est2_install/lib -Wl,--gc-sections -o twothreads twothreads.o -Ttarget.ld
-nostd
lib
arm-elf-gcc -mcpu=strongarm -nostartfiles
-L//c/ecos-work/t
est2_install/lib -Wl,--gc-sections -o simple-alarm simple-alarm.o
-Ttarget.ld -n
ostdlib
arm-elf-gcc -mcpu=strongarm -nostartfiles
-L//c/ecos-work/t
est2_install/lib -Wl,--gc-sections -o serial serial.o -Ttarget.ld -nostdlib
administrator@CS080063 ~/Program Files/Red Hat/eCos/examples
$ arm-elf-gdb hello.exe -nw
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .rom_vectors, size 0x60 vma 0x10000
Loading section .text, size 0x9930 vma 0x10060
Loading section .rodata, size 0x3a8 vma 0x19990
Loading section .data, size 0x370 vma 0x19d38
Start address 0x10060
Transfer rate: 329024 bits in <1 sec.
(gdb) run
Starting program: /c/Program Files/Red Hat/eCos/examples/hello.exe
Program exited normally.
[Switching to process 0]
(gdb)