From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13021 invoked by alias); 25 Jul 2003 04:12:59 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 12941 invoked from network); 25 Jul 2003 04:12:55 -0000 Message-ID: <033001c35262$b2eb65f0$e900a8c0@jose> Reply-To: "Jose Paul" From: "Jose Paul" To: Subject: Program doesn't returns Date: Fri, 25 Jul 2003 04:12:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2003-07/txt/msg00005.txt.bz2 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 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