This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Helloworld program doesn't returns help required
- From: "Eric de Jong" <list_ericdejong_10 at gmx dot net>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 25 Jul 2003 10:25:35 +0200
- Subject: Re: [ECOS] Helloworld program doesn't returns help required
- References: <037401c35276$6c4dc340$e900a8c0@jose>
There are lots of configurations possible in ecos.
Normally Redboot starts up and you connect gdb to your target. Then you load
your own program. So far so good. The debugger stub of redboot is used.
Then your own application runs and tries to cooperate with the redboot debugger
stub. There the problems start:
- it uses a different version of ecos (will that gives problems?)
- uses it's own debugger stub, and gdb get's confused because it did not
reconnect (on a serial port you could try ctrl-c in an terminal, then reconnect
gdb)
- steals/reconfigures the debug port
- rebuild redboot
To solve your problem, try changing settings in configtool. I do not have a
simple anwser for you.
----- Original Message -----
Sent: Friday, July 25, 2003 8:31 AM
Subject: [ECOS] Helloworld program doesn't returns help required
Hi All,
When I tried a helloworld program in ecos using mipsel-vr4100-elf-gdb.exe
program is not returning to gdb> after it reaches the end of the program.
(gdb) target remote 192.168.0.100:9000
Remote debugging using 192.168.0.100:9000
0xffffffff80012e7c in ?? ()
(gdb) load
D:\DeviceStudio\ecos\work\examples\src\helloworld\debug\helloworld.exe
(gdb) c
Continuing.
Hello world!
Hello world!
After this I am not able to send any commands since it does not displays
prompt (gdb) .
Please help.Is it the problem with ecos?.
Thanks in advance,
Jose
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss