public inbox for ecos-maintainers@sourceware.org
 help / color / mirror / Atom feed
From: "Jose Paul" <jose@exorindia.com>
To: <ecos-maintainers@sources.redhat.com>
Subject: Program doesn't returns
Date: Fri, 25 Jul 2003 04:12:00 -0000	[thread overview]
Message-ID: <033001c35262$b2eb65f0$e900a8c0@jose> (raw)

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.

Here is the program I have tried.
/*----------------------------------------------------
 * eCos 'Hello world' example
 * --------------------------------------------------*/

#include <stdio.h>


int main(int argc, char* argv[])
{
    int i;


    for (i=0; i<10; i++)
    {
      printf("Hello world!\n\r");

    }
    return 0;
}


This program prints "Hello world" but it does not return to gdb>.

(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.e
xe
Loading section .rom_vectors, size 0x828 lma 0x80080000
Loading section .text, size 0x8121c lma 0x80080828
Loading section .rodata, size 0x9e9c lma 0x80101a48
Loading section .data, size 0x1830 lma 0x8010b8e8
Loading section .ctors, size 0x5c lma 0x8010d118
Loading section .dtors, size 0x3c lma 0x8010d174
Loading section .devtab, size 0x2f0 lma 0x8010d1b0
Start address 0x80080818, load size 578712
Transfer rate: 420881 bits/sec, 509 bytes/write.
(gdb) c
Continuing.
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
Hello world!
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


























                 reply	other threads:[~2003-07-25  4:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='033001c35262$b2eb65f0$e900a8c0@jose' \
    --to=jose@exorindia.com \
    --cc=ecos-maintainers@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).