From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12151 invoked by alias); 1 Aug 2003 04:32:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12137 invoked from network); 1 Aug 2003 04:32:52 -0000 Received: from unknown (HELO mail13.atl.registeredsite.com) (64.224.219.87) by sources.redhat.com with SMTP; 1 Aug 2003 04:32:52 -0000 Received: from imta01a2.registeredsite.com (imta01a2.registeredsite.com [64.225.255.10]) by mail13.atl.registeredsite.com (8.12.9/8.12.9) with ESMTP id h714WpaM005764 for ; Fri, 1 Aug 2003 00:32:52 -0400 Received: from jose ([61.11.47.53]) by imta01a2.registeredsite.com with SMTP id <20030801043251.SLOK25395.imta01a2.registeredsite.com@jose> for ; Fri, 1 Aug 2003 00:32:51 -0400 Message-ID: <003201c357e6$29de3970$e900a8c0@jose> Reply-To: "Jose Paul" From: "Jose Paul" To: Subject: GDB does not returns Date: Fri, 01 Aug 2003 04:32: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-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2003-08/txt/msg00000.txt.bz2 Hi All, Hi Alain, Here is the program I am using. /*---------------------------------------------------- * eCos 'Hello world' example * --------------------------------------------------*/ #include //#include "library_example.h" int main(int argc, char* argv[]) { int i; for (i=0; i<10; i++) { printf("Hello world!\n\r"); } return 0; } I am using GDB mipsel-elf-gdb.exe build GNU gdb 20030516. My problem is that when I run the above program in command line it prints Hello world and is not returning to GDB. One of the ecos GUY says that if we put a break point at exit it is possible to exit the program. What command we have use to put a break point at exit or what settings I have to make to get back to gdb prompt?. Please let me know. Jose